Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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.
 
 ~TGTableFrame () override
 
virtual void DrawRegion (Int_t x, Int_t y, UInt_t w, UInt_t h)
 Draw a region of container in viewport.
 
TGFrameGetFrame () const
 
void HandleMouseWheel (Event_t *event)
 Handle mouse wheel to scroll.
 
TClassIsA () const override
 
void SetCanvas (TGCanvas *canvas)
 
void Streamer (TBuffer &) override
 Stream an object of class TQObject.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TQObject
 TQObject ()
 TQObject Constructor.
 
virtual ~TQObject ()
 TQObject Destructor.
 
Bool_t AreSignalsBlocked () const
 
Bool_t BlockSignals (Bool_t b)
 
virtual void ChangedBy (const char *method)
 
void CollectClassSignalLists (TList &list, TClass *cls)
 Collect class signal lists from class cls and all its base-classes.
 
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.
 
virtual void Connected (const char *)
 
virtual void Destroyed ()
 
Bool_t Disconnect (const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects signal of this object from slot of receiver.
 
virtual void Disconnected (const char *)
 
void Emit (const char *signal)
 Activate signal without args.
 
template<typename T >
void Emit (const char *signal, const T &arg)
 Activate signal with single parameter.
 
template<typename... T>
void EmitVA (const char *signal_name, Int_t, const T &... params)
 Emit a signal with a varying number of arguments.
 
TListGetListOfClassSignals () const
 Returns pointer to list of signals of this class.
 
TListGetListOfConnections () const
 
TListGetListOfSignals () const
 
virtual Bool_t HasConnection (const char *signal_name) const
 Return true if there is any object connected to this signal.
 
virtual void HighPriority (const char *signal_name, const char *slot_name=nullptr)
 
virtual void LowPriority (const char *signal_name, const char *slot_name=nullptr)
 
virtual void Message (const char *msg)
 
virtual Int_t NumberOfConnections () const
 Return number of connections for this object.
 
virtual Int_t NumberOfSignals () const
 Return number of signals for this object.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TQObject
static Bool_t AreAllSignalsBlocked ()
 Returns true if all signals are blocked.
 
static Bool_t BlockAllSignals (Bool_t b)
 Block or unblock all signals. Returns the previous block status.
 
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
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.
 
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver.
 
static const char * DeclFileName ()
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects "class signal".
 
static Bool_t Disconnect (TQObject *sender, const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects signal in object sender from slot_method in object receiver.
 

Protected Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from TQObject
virtual void * GetSender ()
 
virtual const char * GetSenderClassName () const
 
- 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.
 
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.
 
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.
 
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver.
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked = kFALSE
 flag used for suppression of signals
 

#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()

TGTableFrame::~TGTableFrame ( )
inlineoverride

Definition at line 25 of file TGTableContainer.h.

Member Function Documentation

◆ Class()

static TClass * TGTableFrame::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TGTableFrame::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TGTableFrame::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 33 of file TGTableContainer.h.

◆ DeclFileName()

static const char * TGTableFrame::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 33 of file TGTableContainer.h.

◆ 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.

◆ IsA()

TClass * TGTableFrame::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TQObject.

Definition at line 33 of file TGTableContainer.h.

◆ SetCanvas()

void TGTableFrame::SetCanvas ( TGCanvas canvas)
inline

Definition at line 29 of file TGTableContainer.h.

◆ Streamer()

void TGTableFrame::Streamer ( TBuffer R__b)
overridevirtual

Stream an object of class TQObject.

Reimplemented from TQObject.

◆ StreamerNVirtual()

void TGTableFrame::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 33 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:

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