Logo ROOT  
Reference Guide
TGTableFrame Class Reference

TGTableFrame contains a composite frame that uses a TGMatrixLayout to Layout the frames it contains.

Internal use in TGTable only.

Definition at line 17 of file TGTableContainer.h.

Public Member Functions

 TGTableFrame (const TGWindow *p, UInt_t nrows, UInt_t ncolumns)
 Create the container used to view TGTableCells. p. More...
 
virtual ~TGTableFrame ()
  More...
 
virtual void DrawRegion (Int_t x, Int_t y, UInt_t w, UInt_t h)
 Draw a region of container in viewport. More...
 
TGFrameGetFrame () const
  More...
 
void HandleMouseWheel (Event_t *event)
 Handle mouse wheel to scroll. More...
 
void SetCanvas (TGCanvas *canvas)
  More...
 
- Public Member Functions inherited from TQObject
 TQObject ()
 TQObject Constructor. More...
 
virtual ~TQObject ()
 TQObject Destructor. More...
 
Bool_t AreSignalsBlocked () const
  More...
 
Bool_t BlockSignals (Bool_t b)
  More...
 
virtual void ChangedBy (const char *method)
  More...
 
void CollectClassSignalLists (TList &list, TClass *cls)
 Collect class signal lists from class cls and all its base-classes. More...
 
Bool_t Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Non-static method is used to connect from the signal of this object to the receiver slot. More...
 
virtual void Connected (const char *)
  More...
 
virtual void Destroyed ()
  More...
 
Bool_t Disconnect (const char *signal=0, void *receiver=0, const char *slot=0)
 Disconnects signal of this object from slot of receiver. More...
 
virtual void Disconnected (const char *)
  More...
 
void Emit (const char *signal)
 Activate signal without args. More...
 
template<typename T >
void Emit (const char *signal, const T &arg)
 Activate signal with single parameter. More...
 
template<typename... T>
void EmitVA (const char *signal_name, Int_t, const T &... params)
 Emit a signal with a varying number of arguments. More...
 
TListGetListOfClassSignals () const
 Returns pointer to list of signals of this class. More...
 
TListGetListOfConnections () const
  More...
 
TListGetListOfSignals () const
  More...
 
virtual Bool_t HasConnection (const char *signal_name) const
 Return true if there is any object connected to this signal. More...
 
virtual void HighPriority (const char *signal_name, const char *slot_name=0)
  More...
 
virtual void LowPriority (const char *signal_name, const char *slot_name=0)
  More...
 
virtual void Message (const char *msg)
  More...
 
virtual Int_t NumberOfConnections () const
 Return number of connections for this object. More...
 
virtual Int_t NumberOfSignals () const
 Return number of signals for this object. More...
 

Protected Attributes

TGCanvasfCanvas
 Pointer to the canvas that used this frame. More...
 
TGCompositeFramefFrame
 Composite frame used as a container. More...
 
- Protected Attributes inherited from TQObject
TListfListOfConnections
 list of signals from this object More...
 
TListfListOfSignals
  More...
 
Bool_t fSignalsBlocked
 list of connections to this object More...
 

Additional Inherited Members

- Static Public Member Functions inherited from TQObject
static Bool_t AreAllSignalsBlocked ()
 Returns true if all signals are blocked. More...
 
static Bool_t BlockAllSignals (Bool_t b)
 Block or unblock all signals. Returns the previous block status. More...
 
static Bool_t Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 This method allows to make a connection from any object of the same class to a single slot. More...
 
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver. More...
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=0, const char *slot=0)
 Disconnects "class signal". More...
 
static Bool_t Disconnect (TQObject *sender, const char *signal=0, void *receiver=0, const char *slot=0)
 Disconnects signal in object sender from slot_method in object receiver. More...
 
- Protected Member Functions inherited from TQObject
virtual voidGetSender ()
  More...
 
virtual const char * GetSenderClassName () const
  More...
 
- Static Protected Member Functions inherited from TQObject
static Int_t CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot)
 Checking of consistency of sender/receiver methods/arguments. More...
 
static TString CompressName (const char *method_name)
 Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature. More...
 
static Bool_t ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 This method allows to make connection from any object of the same class to the receiver object. More...
 
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver. More...
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked = kFALSE
 flag used for suppression of signals More...
 

#include <TGTableContainer.h>

Inheritance diagram for TGTableFrame:
[legend]

Constructor & Destructor Documentation

◆ TGTableFrame()

TGTableFrame::TGTableFrame ( const TGWindow p,
UInt_t  nrows,
UInt_t  ncolumns 
)

Create the container used to view TGTableCells. p.

Definition at line 46 of file TGTableContainer.cxx.

◆ ~TGTableFrame()

virtual TGTableFrame::~TGTableFrame ( )
inlinevirtual

Definition at line 25 of file TGTableContainer.h.

Member Function Documentation

◆ DrawRegion()

void TGTableFrame::DrawRegion ( Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)
virtual

Draw a region of container in viewport.

Definition at line 94 of file TGTableContainer.cxx.

◆ GetFrame()

TGFrame* TGTableFrame::GetFrame ( ) const
inline

Definition at line 27 of file TGTableContainer.h.

◆ HandleMouseWheel()

void TGTableFrame::HandleMouseWheel ( Event_t event)

Handle mouse wheel to scroll.

Definition at line 64 of file TGTableContainer.cxx.

◆ SetCanvas()

void TGTableFrame::SetCanvas ( TGCanvas canvas)
inline

Definition at line 29 of file TGTableContainer.h.

Member Data Documentation

◆ fCanvas

TGCanvas* TGTableFrame::fCanvas
protected

Pointer to the canvas that used this frame.

Definition at line 21 of file TGTableContainer.h.

◆ fFrame

TGCompositeFrame* TGTableFrame::fFrame
protected

Composite frame used as a container.

Definition at line 20 of file TGTableContainer.h.

Libraries for TGTableFrame:
[legend]

The documentation for this class was generated from the following files: