Logo ROOT  
Reference Guide
TGTable Class Reference

Definition at line 34 of file TGTable.h.

Public Member Functions

 TGTable (const TGWindow *p=0, Int_t id=0, TVirtualTableInterface *interface=0, UInt_t nrows=50, UInt_t ncolumns=20)
 Create an array to hold a bunch of numbers. More...
 
virtual ~TGTable ()
 TGTable destructor. More...
 
virtual TGTableCellFindCell (TGString label)
 Find the TGTableCell with label. More...
 
virtual const TGTableCellFindCell (TGString label) const
 Const version of FindCell(). More...
 
virtual TGCanvasGetCanvas ()
 
virtual TGTableCellGetCell (UInt_t i, UInt_t j)
 Return a pointer to the TGTableCell at position i,j. More...
 
virtual const TGTableCellGetCell (UInt_t i, UInt_t j) const
 Const version of GetCell(). More...
 
virtual const TGTableHeaderFrameGetCHdrFrame ()
 
virtual TObjArrayGetColumn (UInt_t columns)
 Return a pointer to a TObjArray that contains pointers to all the cells in column. More...
 
virtual TGTableHeaderGetColumnHeader (const UInt_t column)
 Return a pointer to the header of column. More...
 
virtual const TGTableHeaderGetColumnHeader (const UInt_t column) const
 Const version of GetColumnHeader();. More...
 
virtual const TTableRangeGetCurrentRange () const
 Return the current range of the TGTable. More...
 
virtual Pixel_t GetHeaderBackground () const
 Get the background color of headers. More...
 
virtual TVirtualTableInterfaceGetInterface ()
 
virtual UInt_t GetNDataCells () const
 Return the amount of cell in the data source. More...
 
virtual UInt_t GetNDataColumns () const
 Return the amount of columns in the data source. More...
 
virtual UInt_t GetNDataRows () const
 Return the amount of rows in the data source. More...
 
virtual UInt_t GetNTableCells () const
 Return the amount of cells in the table. More...
 
virtual UInt_t GetNTableColumns () const
 Return the amount of columns in the table. More...
 
virtual UInt_t GetNTableRows () const
 Return the amount of rows in the table. More...
 
virtual const TGTableHeaderFrameGetRHdrFrame ()
 
virtual TObjArrayGetRow (UInt_t row)
 Get row. More...
 
virtual Pixel_t GetRowBackground (UInt_t row) const
 Get the background collor for row. More...
 
virtual TGTableHeaderGetRowHeader (const UInt_t row)
 Return a pointer to the header of row. More...
 
virtual const TGTableHeaderGetRowHeader (const UInt_t row) const
 Const version of GetRowHeader();. More...
 
virtual TGTableHeaderGetTableHeader ()
 Return a pointer to the table header. More...
 
virtual void Goto ()
 Slot used by the Goto button and whenever return is pressed in on of the text entries in the range frame. More...
 
virtual void GotoTableRange (Int_t xtl, Int_t ytl, Int_t xbr, Int_t ybr)
 Move and resize the table to the specified range. More...
 
virtual void MoveTable (Int_t rows, Int_t columns)
 Move and layout the table to the specified range. More...
 
virtual void NextChunk ()
 Move the table to the next chunk of the data set with the same size. More...
 
virtual TGTableCelloperator() (UInt_t row, UInt_t column)
 Operator for easy cell acces. More...
 
virtual void PreviousChunk ()
 Move the table to the previous chunk of the data set with the same size. More...
 
virtual void ScrollCHeaders (Int_t xpos)
 Scroll the column headers horizontally. More...
 
virtual void ScrollRHeaders (Int_t ypos)
 Scroll the row headers vertically. More...
 
virtual void SetDefaultColors ()
 Set the background color for all rows and headers to their defaults. More...
 
virtual void SetEvenRowBackground (Pixel_t pixel)
 Set the background color for all even numbered rows. More...
 
virtual void SetHeaderBackground (Pixel_t pixel)
 Set the background color for the headers. More...
 
virtual void SetOddRowBackground (Pixel_t pixel)
 Set the background color for all odd numbered rows. More...
 
virtual void Show ()
 Show the contents of the TGTable in stdout. More...
 
virtual void Update ()
 Update the range of the available data and refresh the current view. More...
 
virtual void UpdateView ()
 Update and layout the visible part of the TGTable. More...
 
virtual void UserRangeChange ()
 Slot used when the text in one of the range frame text entries changes. More...
 
- Public Member Functions inherited from TGCompositeFrame
 TGCompositeFrame (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
 Create a composite frame. More...
 
 TGCompositeFrame (TGClient *c, Window_t id, const TGWindow *parent=0)
 Create a frame using an externally created window. More...
 
virtual ~TGCompositeFrame ()
 Delete a composite frame. More...
 
virtual void AddFrame (TGFrame *f, TGLayoutHints *l=0)
 Add frame to the composite frame using the specified layout hints. More...
 
virtual void ChangeOptions (UInt_t options)
 Change composite frame options. Options is an OR of the EFrameTypes. More...
 
virtual void ChangeSubframesBackground (Pixel_t back)
 Change background color for this frame and all subframes. More...
 
virtual void Cleanup ()
 Cleanup and delete all objects contained in this composite frame. More...
 
virtual TGFrameElementFindFrameElement (TGFrame *f) const
 Find frame-element holding frame f. More...
 
virtual UInt_t GetDefaultHeight () const
 
virtual TGDimension GetDefaultSize () const
 std::cout << fWidth << "x" << fHeight << std::endl; More...
 
virtual UInt_t GetDefaultWidth () const
 
virtual TGFrameGetFrameFromPoint (Int_t x, Int_t y)
 Get frame located at specified point. More...
 
virtual TGLayoutManagerGetLayoutManager () const
 
virtual TListGetList () const
 
Int_t GetState (TGFrame *f) const
 Get state of sub frame. More...
 
virtual Bool_t HandleButton (Event_t *)
 
virtual Bool_t HandleCrossing (Event_t *)
 
virtual Bool_t HandleDoubleClick (Event_t *)
 
virtual Bool_t HandleDragDrop (TGFrame *frame, Int_t x, Int_t y, TGLayoutHints *lo)
 Handle drop event. More...
 
virtual Bool_t HandleDragEnter (TGFrame *)
 Handle drag enter event. More...
 
virtual Bool_t HandleDragLeave (TGFrame *)
 Handle drag leave event. More...
 
virtual Bool_t HandleDragMotion (TGFrame *)
 Handle drag motion event. More...
 
virtual Bool_t HandleFocusChange (Event_t *)
 
virtual Bool_t HandleKey (Event_t *)
 
virtual Bool_t HandleMotion (Event_t *)
 
virtual Bool_t HandleSelection (Event_t *)
 
virtual void HideFrame (TGFrame *f)
 Hide sub frame. More...
 
Bool_t IsArranged (TGFrame *f) const
 Get state of sub frame. More...
 
Bool_t IsArranged (TGFrameElement *ptr) const
 
Bool_t IsComposite () const
 
virtual Bool_t IsEditable () const
 Return kTRUE if frame is being edited. More...
 
virtual Bool_t IsLayoutBroken () const
 
virtual Bool_t IsMapSubwindows () const
 
Bool_t IsVisible (TGFrame *f) const
 Get state of sub frame. More...
 
Bool_t IsVisible (TGFrameElement *ptr) const
 
virtual void Layout ()
 Layout the elements of the composite frame. More...
 
virtual void MapSubwindows ()
 Map all sub windows that are part of the composite frame. More...
 
virtual Int_t MustCleanup () const
 
virtual void Print (Option_t *option="") const
 Print all frames in this composite frame. More...
 
virtual Bool_t ProcessMessage (Long_t, Long_t, Long_t)
 
virtual void RemoveAll ()
 Remove all frames from composite frame. More...
 
virtual void RemoveFrame (TGFrame *f)
 Remove frame from composite frame. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a composite frame widget as a C++ statement(s) on output stream out. More...
 
virtual void SavePrimitiveSubframes (std::ostream &out, Option_t *option="")
 Auxilary protected method used to save subframes. More...
 
virtual void SetCleanup (Int_t mode=kLocalCleanup)
 Turn on automatic cleanup of child frames in dtor. More...
 
virtual void SetEditable (Bool_t on=kTRUE)
 Switch ON/OFF edit mode. More...
 
virtual void SetEditDisabled (UInt_t on=1)
 Set edit disable flag for this frame and subframes. More...
 
virtual void SetLayoutBroken (Bool_t on=kTRUE)
 Set broken layout. No Layout method is called. More...
 
virtual void SetLayoutManager (TGLayoutManager *l)
 Set the layout manager for the composite frame. More...
 
virtual void SetMapSubwindows (Bool_t on)
 
virtual void ShowFrame (TGFrame *f)
 Show sub frame. More...
 
virtual Bool_t TranslateCoordinates (TGFrame *child, Int_t x, Int_t y, Int_t &fx, Int_t &fy)
 Translate coordinates to child frame. More...
 
- Public Member Functions inherited from TGFrame
 TGFrame (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
 Create a TGFrame object. Options is an OR of the EFrameTypes. More...
 
 TGFrame (TGClient *c, Window_t id, const TGWindow *parent=0)
 Create a frame using an externally created window. More...
 
virtual ~TGFrame ()
 Destructor. More...
 
virtual void Activate (Bool_t)
 
void AddInput (UInt_t emask)
 Add events specified in the emask to the events the frame should handle. More...
 
virtual void ChangeBackground (Pixel_t back)
 Change frame background color. More...
 
virtual void ChangeOptions (UInt_t options)
 Change frame options. Options is an OR of the EFrameTypes. More...
 
Bool_t Contains (Int_t x, Int_t y) const
 
virtual void Delete (Option_t *="")
 Delete this object. More...
 
virtual void DeleteWindow ()
 Delete window. More...
 
virtual void DrawBorder ()
 Draw frame border. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad). More...
 
virtual void DrawCopy (Handle_t, Int_t, Int_t)
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual Pixel_t GetBackground () const
 
Int_t GetBorderWidth () const
 
virtual UInt_t GetDefaultHeight () const
 
virtual TGDimension GetDefaultSize () const
 std::cout << fWidth << "x" << fHeight << std::endl; More...
 
virtual UInt_t GetDefaultWidth () const
 
virtual TDNDDataGetDNDData (Atom_t)
 
virtual Int_t GetDragType () const
 Returns drag source type. More...
 
virtual Int_t GetDropType () const
 Returns drop target type. More...
 
UInt_t GetEventMask () const
 
virtual Pixel_t GetForeground () const
 Return frame foreground color. More...
 
TGFrameElementGetFrameElement () const
 
virtual TGFrameGetFrameFromPoint (Int_t x, Int_t y)
 
UInt_t GetHeight () const
 
UInt_t GetMaxHeight () const
 
UInt_t GetMaxWidth () const
 
UInt_t GetMinHeight () const
 
UInt_t GetMinWidth () const
 
virtual UInt_t GetOptions () const
 
TGDimension GetSize () const
 
UInt_t GetWidth () const
 
Int_t GetX () const
 
Int_t GetY () const
 
virtual Bool_t HandleButton (Event_t *)
 
virtual Bool_t HandleClientMessage (Event_t *event)
 Handle a client message. More...
 
virtual Bool_t HandleColormapChange (Event_t *)
 
virtual Bool_t HandleConfigureNotify (Event_t *event)
 This event is generated when the frame is resized. More...
 
virtual Bool_t HandleCrossing (Event_t *)
 
virtual Bool_t HandleDNDDrop (TDNDData *)
 
virtual Atom_t HandleDNDEnter (Atom_t *)
 
virtual Bool_t HandleDNDFinished ()
 
virtual Bool_t HandleDNDLeave ()
 
virtual Atom_t HandleDNDPosition (Int_t, Int_t, Atom_t, Int_t, Int_t)
 
virtual Bool_t HandleDoubleClick (Event_t *)
 
virtual Bool_t HandleDragDrop (TGFrame *, Int_t, Int_t, TGLayoutHints *)
 
virtual Bool_t HandleDragEnter (TGFrame *)
 
virtual Bool_t HandleDragLeave (TGFrame *)
 
virtual Bool_t HandleDragMotion (TGFrame *)
 
virtual Bool_t HandleEvent (Event_t *event)
 Handle all frame events. More...
 
virtual Bool_t HandleFocusChange (Event_t *)
 
virtual Bool_t HandleKey (Event_t *)
 
virtual Bool_t HandleMotion (Event_t *)
 
virtual Bool_t HandleSelection (Event_t *)
 
virtual Bool_t HandleSelectionClear (Event_t *)
 
virtual Bool_t HandleSelectionRequest (Event_t *)
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
virtual Bool_t IsActive () const
 
virtual Bool_t IsComposite () const
 
Bool_t IsDNDSource () const
 
Bool_t IsDNDTarget () const
 
virtual Bool_t IsEditable () const
 
virtual Bool_t IsLayoutBroken () const
 
virtual void Layout ()
 
virtual void MapRaised ()
 
virtual void MapSubwindows ()
 
virtual void MapWindow ()
 
virtual void Move (Int_t x, Int_t y)
 Move frame. More...
 
virtual void MoveResize (Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
 Move and/or resize the frame. More...
 
virtual void Print (Option_t *option="") const
 Print window id. More...
 
virtual void ProcessedConfigure (Event_t *event)
 
virtual void ProcessedEvent (Event_t *event)
 
virtual Bool_t ProcessMessage (Long_t, Long_t, Long_t)
 
virtual void ReallyDelete ()
 
void RemoveInput (UInt_t emask)
 Remove events specified in emask from the events the frame should handle. More...
 
virtual void ReparentWindow (const TGWindow *p, Int_t x=0, Int_t y=0)
 Reparent window, make p the new parent and position the window at position (x,y) in new parent. More...
 
virtual void Resize (TGDimension size)
 Resize the frame. More...
 
virtual void Resize (UInt_t w=0, UInt_t h=0)
 Resize the frame. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a frame widget as a C++ statement(s) on output stream out. More...
 
void SaveUserColor (std::ostream &out, Option_t *)
 Save a user color in a C++ macro file - used in SavePrimitive(). More...
 
virtual void SendMessage (const TGWindow *w, Long_t msg, Long_t parm1, Long_t parm2)
 Send message (i.e. More...
 
virtual void SetBackgroundColor (Pixel_t back)
 Set background color (override from TGWindow base class). More...
 
virtual void SetCleanup (Int_t=kLocalCleanup)
 
void SetDNDSource (Bool_t onoff)
 
void SetDNDTarget (Bool_t onoff)
 
virtual void SetDragType (Int_t type)
 SetDragType. More...
 
virtual void SetDrawOption (Option_t *="")
 Set drawing option for object. More...
 
virtual void SetDropType (Int_t type)
 SetDropType. More...
 
virtual void SetEditable (Bool_t)
 
virtual void SetForegroundColor (Pixel_t)
 
void SetFrameElement (TGFrameElement *fe)
 
virtual void SetHeight (UInt_t h)
 
virtual void SetLayoutBroken (Bool_t=kTRUE)
 
virtual void SetMaxHeight (UInt_t h)
 
virtual void SetMaxWidth (UInt_t w)
 
virtual void SetMinHeight (UInt_t h)
 
virtual void SetMinWidth (UInt_t w)
 
virtual void SetSize (const TGDimension &s)
 
virtual void SetWidth (UInt_t w)
 
virtual void SetX (Int_t x)
 
virtual void SetY (Int_t y)
 
virtual void UnmapWindow ()
 
- Public Member Functions inherited from TGWindow
 TGWindow (const TGWindow *p=0, Int_t x=0, Int_t y=0, UInt_t w=0, UInt_t h=0, UInt_t border=0, Int_t depth=0, UInt_t clss=0, void *visual=0, SetWindowAttributes_t *attr=0, UInt_t wtype=0)
 Create a new window. More...
 
 TGWindow (TGClient *c, Window_t id, const TGWindow *parent=0)
 Create a copy of a window. More...
 
virtual ~TGWindow ()
 Window destructor. Unregisters the window. More...
 
virtual void DestroySubwindows ()
 
virtual void DestroyWindow ()
 
virtual UInt_t GetEditDisabled () const
 
virtual const TGWindowGetMainFrame () const
 Returns top level main frame. More...
 
virtual const char * GetName () const
 Return unique name, used in SavePrimitive methods. More...
 
const TGWindowGetParent () const
 
virtual Bool_t HandleEvent (Event_t *)
 
virtual Bool_t HandleExpose (Event_t *event)
 
virtual Bool_t HandleIdleEvent (TGIdleHandler *)
 
virtual Bool_t HandleTimer (TTimer *)
 Execute action in response of a timer timing out. More...
 
virtual void IconifyWindow ()
 
virtual Bool_t IsEditable () const
 
virtual Bool_t IsMapped ()
 Returns kTRUE if window is mapped on screen, kFALSE otherwise. More...
 
virtual Bool_t IsMapSubwindows () const
 
virtual void LowerWindow ()
 
virtual void MapRaised ()
 
virtual void MapSubwindows ()
 
virtual void MapWindow ()
 
virtual void Move (Int_t x, Int_t y)
 Move the window. More...
 
virtual void MoveResize (Int_t x, Int_t y, UInt_t w, UInt_t h)
 Move and resize the window. More...
 
virtual Int_t MustCleanup () const
 
virtual void Print (Option_t *option="") const
 Print window id. More...
 
virtual void RaiseWindow ()
 
virtual void ReparentWindow (const TGWindow *p, Int_t x=0, Int_t y=0)
 Reparent window, make p the new parent and position the window at position (x,y) in new parent. More...
 
virtual void RequestFocus ()
 
virtual void Resize (UInt_t w, UInt_t h)
 Resize the window. More...
 
virtual void SetBackgroundColor (Pixel_t color)
 
virtual void SetBackgroundPixmap (Pixmap_t pixmap)
 
virtual void SetEditable (Bool_t on=kTRUE)
 
virtual void SetEditDisabled (UInt_t on=kEditDisable)
 
virtual void SetMapSubwindows (Bool_t)
 
virtual void SetName (const char *name)
 
virtual void SetWindowName (const char *name=0)
 Set window name. More...
 
virtual void UnmapWindow ()
 
- Public Member Functions inherited from TGObject
 TGObject ()
 
 TGObject (const TGObject &tgo)
 
virtual ~TGObject ()
 TGObject destructor. More...
 
TGClientGetClient () const
 
Handle_t GetId () const
 
ULong_t Hash () const
 Return hash value for this object. More...
 
Bool_t IsEqual (const TObject *obj) const
 Equal comparison (TGObjects are equal if they have the same window identifier). More...
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Write this TGObject to a file using TImage, if filename's extension signals a valid TImage::EImageFileType, as defined by TImage::GetImageFileTypeFromFilename(). More...
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad). More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual void Print (Option_t *option="") const
 This method must be overridden when a class wants to print itself. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
- Public Member Functions inherited from TQObject
 TQObject ()
 TQObject Constructor. More...
 
virtual ~TQObject ()
 TQObject Destructor. More...
 
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. 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 *)
 
virtual void Destroyed ()
 
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 *)
 
void Emit (const char *signal)
 Acitvate 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
 
TListGetListOfSignals () const
 
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)
 
virtual void LowPriority (const char *signal_name, const char *slot_name=0)
 
virtual void Message (const char *msg)
 
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...
 
- Public Member Functions inherited from TGWidget
 TGWidget ()
 
 TGWidget (Int_t id)
 
virtual ~TGWidget ()
 
virtual void Associate (const TGWindow *w)
 
const char * GetCommand () const
 
Bool_t HasFocus () const
 
Bool_t IsEnabled () const
 
virtual void SetCommand (const char *command)
 
Bool_t WantFocus () const
 
Int_t WidgetId () const
 

Protected Member Functions

virtual void DoRedraw ()
 Redraw the TGTable. More...
 
virtual void Expand (UInt_t nrows, UInt_t ncolumns)
 Expand a TGTable by nrows and ncolumns. More...
 
virtual void ExpandColumns (UInt_t ncolumns)
 Expand the columns of a TGTable by ncolumns. More...
 
virtual void ExpandRows (UInt_t nrows)
 Expand the rows of a TGTable by nrows. More...
 
virtual UInt_t GetCHdrWidth () const
 Get the current width of the column header frame. More...
 
virtual UInt_t GetRHdrHeight () const
 Get the current height of the row header frame. More...
 
virtual void Init ()
 Initialise the TGTable. More...
 
virtual void ResizeTable (UInt_t nrows, UInt_t ncolumns)
 Resize the table to newnrows and newncolumns and add all the frames to their parent frames. More...
 
virtual void SetInterface (TVirtualTableInterface *interface, UInt_t nrows=50, UInt_t ncolumns=20)
 Set the interface that the TGTable uses to interface. More...
 
virtual void Shrink (UInt_t nrows, UInt_t ncolumns)
 Shrink the TGTable by nrows and ncolumns. More...
 
virtual void ShrinkColumns (UInt_t ncolumns)
 Shrink the columns of the TGTable by ncolumns. More...
 
virtual void ShrinkRows (UInt_t nrows)
 Shrink the rows of the TGTable by nrows. More...
 
virtual void UpdateHeaders (EHeaderType type)
 Update the labels of the headers of the given type. More...
 
virtual void UpdateRangeFrame ()
 Update the range shown in the range frame. More...
 
- Protected Member Functions inherited from TGFrame
virtual void DoRedraw ()
 Redraw the frame. More...
 
virtual void Draw3dRectangle (UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
 Draw 3D rectangle on the frame border. More...
 
TString GetOptionString () const
 Returns a frame option string - used in SavePrimitive(). More...
 
const TGResourcePoolGetResourcePool () const
 
virtual voidGetSender ()
 
virtual void StartGuiBuilding (Bool_t on=kTRUE)
 Go into GUI building mode. More...
 
- Protected Member Functions inherited from TGWindow
 TGWindow (const TGWindow &tgw)
 
 TGWindow (Window_t id)
 
virtual void DoRedraw ()
 
TGWindowoperator= (const TGWindow &tgw)
 
- Protected Member Functions inherited from TGObject
TGObjectoperator= (const TGObject &tgo)
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
void MakeZombie ()
 
- Protected Member Functions inherited from TQObject
virtual voidGetSender ()
 
virtual const char * GetSenderClassName () const
 
- Protected Member Functions inherited from TGWidget
 TGWidget (const TGWidget &tgw)
 
Int_t ClearFlags (Int_t flags)
 
TGWidgetoperator= (const TGWidget &tgw)
 
Int_t SetFlags (Int_t flags)
 

Protected Attributes

Bool_t fAllData
 
TGHorizontalFramefBottomFrame
 
TGHorizontalFramefButtonFrame
 
TGCanvasfCanvas
 
UInt_t fCellHeight
 
TListfCellHintsList
 
UInt_t fCellWidth
 
TGTableHeaderFramefCHdrFrame
 
TListfCHdrHintsList
 
TObjArrayfColumnHeaders
 
TTableRangefCurrentRange
 
TTableRangefDataRange
 
Pixel_t fEvenRowBackground
 
TGTextEntryfFirstCellEntry
 
TGLabelfFirstCellLabel
 
TGTextButtonfGotoButton
 
TTableRangefGotoRange
 
Pixel_t fHeaderBackground
 
TVirtualTableInterfacefInterface
 
TListfMainHintsList
 
TGTextButtonfNextButton
 
Pixel_t fOddRowBackground
 
TGTextButtonfPrevButton
 
TGTextEntryfRangeEntry
 
TGHorizontalFramefRangeFrame
 
TGLabelfRangeLabel
 
Bool_t fReadOnly
 
TGTableHeaderFramefRHdrFrame
 
TListfRHdrHintsList
 
TObjArrayfRowHeaders
 
TObjArrayfRows
 
Pixel_t fSelectColor
 
TGTableFramefTableFrame
 
TGTableHeaderfTableHeader
 
Int_t fTMode
 
TGHorizontalFramefTopExtraFrame
 
TGHorizontalFramefTopFrame
 
TGTextButtonfUpdateButton
 
- Protected Attributes inherited from TGCompositeFrame
Bool_t fLayoutBroken
 
TGLayoutManagerfLayoutManager
 
TListfList
 
Bool_t fMapSubwindows
 
Int_t fMustCleanup
 
- Protected Attributes inherited from TGFrame
Pixel_t fBackground
 
Int_t fBorderWidth
 
Int_t fDNDState
 
UInt_t fEventMask
 
TGFrameElementfFE
 
UInt_t fHeight
 
UInt_t fMaxHeight
 
UInt_t fMaxWidth
 
UInt_t fMinHeight
 
UInt_t fMinWidth
 
UInt_t fOptions
 
UInt_t fWidth
 
Int_t fX
 
Int_t fY
 
- Protected Attributes inherited from TGWindow
UInt_t fEditDisabled
 
TString fName
 
Bool_t fNeedRedraw
 
const TGWindowfParent
 
- Protected Attributes inherited from TGObject
TGClientfClient
 
Handle_t fId
 
- Protected Attributes inherited from TQObject
TListfListOfConnections
 list of signals from this object More...
 
TListfListOfSignals
 
Bool_t fSignalsBlocked
 list of connections to this object More...
 
- Protected Attributes inherited from TGWidget
TString fCommand
 
const TGWindowfMsgWindow
 
Int_t fWidgetFlags
 
Int_t fWidgetId
 

Additional Inherited Members

- Public Types inherited from TGWindow
enum  EEditMode {
  kEditEnable = 0 , kEditDisable = BIT(0) , kEditDisableEvents = BIT(1) , kEditDisableGrab = BIT(2) ,
  kEditDisableLayout = BIT(3) , kEditDisableResize = BIT(4) , kEditDisableHeight = BIT(5) , kEditDisableWidth = BIT(6) ,
  kEditDisableBtnEnable = BIT(7) , kEditDisableKeyEnable = BIT(8)
}
 
enum  EStatusBits { kIsHtmlView = BIT(14) }
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = BIT(0) , kOverwrite = BIT(1) , kWriteDelete = BIT(2) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = BIT(3) }
 
enum  EStatusBits {
  kCanDelete = BIT(0) , kMustCleanup = BIT(3) , kIsReferenced = BIT(4) , kHasUUID = BIT(5) ,
  kCannotPick = BIT(6) , kNoContextMenu = BIT(8) , kInvalidObject = BIT(13)
}
 
- Static Public Member Functions inherited from TGFrame
static const TGGCGetBckgndGC ()
 Get background color graphics context. More...
 
static const TGGCGetBlackGC ()
 Get black graphics context. More...
 
static Pixel_t GetBlackPixel ()
 Get black pixel value. More...
 
static Pixel_t GetDefaultFrameBackground ()
 Get default frame background. More...
 
static Pixel_t GetDefaultSelectedBackground ()
 Get default selected frame background. More...
 
static const TGGCGetHilightGC ()
 Get highlight color graphics context. More...
 
static const TGGCGetShadowGC ()
 Get shadow color graphics context. More...
 
static const TGGCGetWhiteGC ()
 Get white graphics context. More...
 
static Pixel_t GetWhitePixel ()
 Get white pixel value. More...
 
- Static Public Member Functions inherited from TGWindow
static Int_t GetCounter ()
 Return global window counter (total number of created windows). More...
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- 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 Types inherited from TGFrame
enum  { kDeleteWindowCalled = BIT(15) }
 
- Static Protected Member Functions inherited from TGFrame
static Time_t GetLastClick ()
 Get time of last mouse click. 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 consitency 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 TGCompositeFrame
static TGLayoutHintsfgDefaultHints = 0
 
- Static Protected Attributes inherited from TGFrame
static const TGGCfgBckgndGC = 0
 
static const TGGCfgBlackGC = 0
 
static Pixel_t fgBlackPixel = 0
 
static Window_t fgDbw = 0
 
static Int_t fgDbx = 0
 
static Int_t fgDby = 0
 
static Pixel_t fgDefaultFrameBackground = 0
 
static Pixel_t fgDefaultSelectedBackground = 0
 
static const TGGCfgHilightGC = 0
 
static Bool_t fgInit = kFALSE
 
static UInt_t fgLastButton = 0
 
static Time_t fgLastClick = 0
 
static const TGGCfgShadowGC = 0
 
static UInt_t fgUserColor = 0
 
static const TGGCfgWhiteGC = 0
 
static Pixel_t fgWhitePixel = 0
 
- Static Protected Attributes inherited from TGWindow
static Int_t fgCounter = 0
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked = kFALSE
 flag used for suppression of signals More...
 

#include <TGTable.h>

Inheritance diagram for TGTable:
[legend]

Constructor & Destructor Documentation

◆ TGTable()

TGTable::TGTable ( const TGWindow p = 0,
Int_t  id = 0,
TVirtualTableInterface interface = 0,
UInt_t  nrows = 50,
UInt_t  ncolumns = 20 
)

Create an array to hold a bunch of numbers.

TGTable constuctor.

Definition at line 168 of file TGTable.cxx.

◆ ~TGTable()

TGTable::~TGTable ( )
virtual

TGTable destructor.

Definition at line 203 of file TGTable.cxx.

Member Function Documentation

◆ DoRedraw()

void TGTable::DoRedraw ( )
protectedvirtual

Redraw the TGTable.

Reimplemented from TGFrame.

Definition at line 431 of file TGTable.cxx.

◆ Expand()

void TGTable::Expand ( UInt_t  nrows,
UInt_t  ncolumns 
)
protectedvirtual

Expand a TGTable by nrows and ncolumns.

Definition at line 440 of file TGTable.cxx.

◆ ExpandColumns()

void TGTable::ExpandColumns ( UInt_t  ncolumns)
protectedvirtual

Expand the columns of a TGTable by ncolumns.

Definition at line 449 of file TGTable.cxx.

◆ ExpandRows()

void TGTable::ExpandRows ( UInt_t  nrows)
protectedvirtual

Expand the rows of a TGTable by nrows.

Definition at line 488 of file TGTable.cxx.

◆ FindCell() [1/2]

TGTableCell * TGTable::FindCell ( TGString  label)
virtual

Find the TGTableCell with label.

Definition at line 922 of file TGTable.cxx.

◆ FindCell() [2/2]

const TGTableCell * TGTable::FindCell ( TGString  label) const
virtual

Const version of FindCell().

Definition at line 914 of file TGTable.cxx.

◆ GetCanvas()

virtual TGCanvas * TGTable::GetCanvas ( )
inlinevirtual

Definition at line 188 of file TGTable.h.

◆ GetCell() [1/2]

TGTableCell * TGTable::GetCell ( UInt_t  i,
UInt_t  j 
)
virtual

Return a pointer to the TGTableCell at position i,j.

Definition at line 900 of file TGTable.cxx.

◆ GetCell() [2/2]

const TGTableCell * TGTable::GetCell ( UInt_t  i,
UInt_t  j 
) const
virtual

Const version of GetCell().

Definition at line 892 of file TGTable.cxx.

◆ GetCHdrFrame()

virtual const TGTableHeaderFrame * TGTable::GetCHdrFrame ( )
inlinevirtual

Definition at line 190 of file TGTable.h.

◆ GetCHdrWidth()

UInt_t TGTable::GetCHdrWidth ( ) const
protectedvirtual

Get the current width of the column header frame.

Definition at line 524 of file TGTable.cxx.

◆ GetColumn()

TObjArray * TGTable::GetColumn ( UInt_t  column)
virtual

Return a pointer to a TObjArray that contains pointers to all the cells in column.

NOTE: The user will have to delete the TObjArray, but do NOT delete the cells it contains, they are owned by the TGTable and will be deleted from the TGTable with undefined consequenses.

Definition at line 818 of file TGTable.cxx.

◆ GetColumnHeader() [1/2]

TGTableHeader * TGTable::GetColumnHeader ( const UInt_t  column)
virtual

Return a pointer to the header of column.

Definition at line 1185 of file TGTable.cxx.

◆ GetColumnHeader() [2/2]

const TGTableHeader * TGTable::GetColumnHeader ( const UInt_t  column) const
virtual

Const version of GetColumnHeader();.

Definition at line 1177 of file TGTable.cxx.

◆ GetCurrentRange()

const TTableRange * TGTable::GetCurrentRange ( ) const
virtual

Return the current range of the TGTable.

Definition at line 1153 of file TGTable.cxx.

◆ GetHeaderBackground()

Pixel_t TGTable::GetHeaderBackground ( ) const
virtual

Get the background color of headers.

Definition at line 1228 of file TGTable.cxx.

◆ GetInterface()

virtual TVirtualTableInterface * TGTable::GetInterface ( )
inlinevirtual

Definition at line 186 of file TGTable.h.

◆ GetNDataCells()

UInt_t TGTable::GetNDataCells ( ) const
virtual

Return the amount of cell in the data source.

Definition at line 1145 of file TGTable.cxx.

◆ GetNDataColumns()

UInt_t TGTable::GetNDataColumns ( ) const
virtual

Return the amount of columns in the data source.

Definition at line 1129 of file TGTable.cxx.

◆ GetNDataRows()

UInt_t TGTable::GetNDataRows ( ) const
virtual

Return the amount of rows in the data source.

Definition at line 1113 of file TGTable.cxx.

◆ GetNTableCells()

UInt_t TGTable::GetNTableCells ( ) const
virtual

Return the amount of cells in the table.

Definition at line 1137 of file TGTable.cxx.

◆ GetNTableColumns()

UInt_t TGTable::GetNTableColumns ( ) const
virtual

Return the amount of columns in the table.

Definition at line 1121 of file TGTable.cxx.

◆ GetNTableRows()

UInt_t TGTable::GetNTableRows ( ) const
virtual

Return the amount of rows in the table.

Definition at line 1105 of file TGTable.cxx.

◆ GetRHdrFrame()

virtual const TGTableHeaderFrame * TGTable::GetRHdrFrame ( )
inlinevirtual

Definition at line 189 of file TGTable.h.

◆ GetRHdrHeight()

UInt_t TGTable::GetRHdrHeight ( ) const
protectedvirtual

Get the current height of the row header frame.

Definition at line 537 of file TGTable.cxx.

◆ GetRow()

TObjArray * TGTable::GetRow ( UInt_t  row)
virtual

Get row.

NOTE: Do not delete the TObjArray returned or the cells it contains, they are owned by the TGTable.

Definition at line 806 of file TGTable.cxx.

◆ GetRowBackground()

Pixel_t TGTable::GetRowBackground ( UInt_t  row) const
virtual

Get the background collor for row.

Definition at line 1216 of file TGTable.cxx.

◆ GetRowHeader() [1/2]

TGTableHeader * TGTable::GetRowHeader ( const UInt_t  row)
virtual

Return a pointer to the header of row.

Definition at line 1169 of file TGTable.cxx.

◆ GetRowHeader() [2/2]

const TGTableHeader * TGTable::GetRowHeader ( const UInt_t  row) const
virtual

Const version of GetRowHeader();.

Definition at line 1161 of file TGTable.cxx.

◆ GetTableHeader()

TGTableHeader * TGTable::GetTableHeader ( )
virtual

Return a pointer to the table header.

Definition at line 1193 of file TGTable.cxx.

◆ Goto()

void TGTable::Goto ( )
virtual

Slot used by the Goto button and whenever return is pressed in on of the text entries in the range frame.

Definition at line 1489 of file TGTable.cxx.

◆ GotoTableRange()

void TGTable::GotoTableRange ( Int_t  xtl,
Int_t  ytl,
Int_t  xbr,
Int_t  ybr 
)
virtual

Move and resize the table to the specified range.

Definition at line 1348 of file TGTable.cxx.

◆ Init()

void TGTable::Init ( )
protectedvirtual

Initialise the TGTable.

Definition at line 233 of file TGTable.cxx.

◆ MoveTable()

void TGTable::MoveTable ( Int_t  rows,
Int_t  columns 
)
virtual

Move and layout the table to the specified range.

Definition at line 1333 of file TGTable.cxx.

◆ NextChunk()

void TGTable::NextChunk ( )
virtual

Move the table to the next chunk of the data set with the same size.

Definition at line 1470 of file TGTable.cxx.

◆ operator()()

TGTableCell * TGTable::operator() ( UInt_t  row,
UInt_t  column 
)
virtual

Operator for easy cell acces.

Definition at line 1436 of file TGTable.cxx.

◆ PreviousChunk()

void TGTable::PreviousChunk ( )
virtual

Move the table to the previous chunk of the data set with the same size.

Definition at line 1479 of file TGTable.cxx.

◆ ResizeTable()

void TGTable::ResizeTable ( UInt_t  nrows,
UInt_t  ncolumns 
)
protectedvirtual

Resize the table to newnrows and newncolumns and add all the frames to their parent frames.

Definition at line 722 of file TGTable.cxx.

◆ ScrollCHeaders()

void TGTable::ScrollCHeaders ( Int_t  xpos)
virtual

Scroll the column headers horizontally.

Definition at line 1444 of file TGTable.cxx.

◆ ScrollRHeaders()

void TGTable::ScrollRHeaders ( Int_t  ypos)
virtual

Scroll the row headers vertically.

Definition at line 1457 of file TGTable.cxx.

◆ SetDefaultColors()

void TGTable::SetDefaultColors ( )
virtual

Set the background color for all rows and headers to their defaults.

Definition at line 1323 of file TGTable.cxx.

◆ SetEvenRowBackground()

void TGTable::SetEvenRowBackground ( Pixel_t  pixel)
virtual

Set the background color for all even numbered rows.

Definition at line 1264 of file TGTable.cxx.

◆ SetHeaderBackground()

void TGTable::SetHeaderBackground ( Pixel_t  pixel)
virtual

Set the background color for the headers.

Definition at line 1291 of file TGTable.cxx.

◆ SetInterface()

void TGTable::SetInterface ( TVirtualTableInterface interface,
UInt_t  nrows = 50,
UInt_t  ncolumns = 20 
)
protectedvirtual

Set the interface that the TGTable uses to interface.

Definition at line 683 of file TGTable.cxx.

◆ SetOddRowBackground()

void TGTable::SetOddRowBackground ( Pixel_t  pixel)
virtual

Set the background color for all odd numbered rows.

Definition at line 1236 of file TGTable.cxx.

◆ Show()

void TGTable::Show ( )
virtual

Show the contents of the TGTable in stdout.

Definition at line 945 of file TGTable.cxx.

◆ Shrink()

void TGTable::Shrink ( UInt_t  nrows,
UInt_t  ncolumns 
)
protectedvirtual

Shrink the TGTable by nrows and ncolumns.

Definition at line 550 of file TGTable.cxx.

◆ ShrinkColumns()

void TGTable::ShrinkColumns ( UInt_t  ncolumns)
protectedvirtual

Shrink the columns of the TGTable by ncolumns.

Definition at line 559 of file TGTable.cxx.

◆ ShrinkRows()

void TGTable::ShrinkRows ( UInt_t  nrows)
protectedvirtual

Shrink the rows of the TGTable by nrows.

Definition at line 612 of file TGTable.cxx.

◆ Update()

void TGTable::Update ( )
virtual

Update the range of the available data and refresh the current view.

Definition at line 1544 of file TGTable.cxx.

◆ UpdateHeaders()

void TGTable::UpdateHeaders ( EHeaderType  type)
protectedvirtual

Update the labels of the headers of the given type.

Definition at line 660 of file TGTable.cxx.

◆ UpdateRangeFrame()

void TGTable::UpdateRangeFrame ( )
protectedvirtual

Update the range shown in the range frame.

Definition at line 785 of file TGTable.cxx.

◆ UpdateView()

void TGTable::UpdateView ( )
virtual

Update and layout the visible part of the TGTable.

Definition at line 1060 of file TGTable.cxx.

◆ UserRangeChange()

void TGTable::UserRangeChange ( )
virtual

Slot used when the text in one of the range frame text entries changes.

Definition at line 1501 of file TGTable.cxx.

Member Data Documentation

◆ fAllData

Bool_t TGTable::fAllData
protected

Definition at line 44 of file TGTable.h.

◆ fBottomFrame

TGHorizontalFrame* TGTable::fBottomFrame
protected

Definition at line 59 of file TGTable.h.

◆ fButtonFrame

TGHorizontalFrame* TGTable::fButtonFrame
protected

Definition at line 60 of file TGTable.h.

◆ fCanvas

TGCanvas* TGTable::fCanvas
protected

Definition at line 49 of file TGTable.h.

◆ fCellHeight

UInt_t TGTable::fCellHeight
protected

Definition at line 51 of file TGTable.h.

◆ fCellHintsList

TList* TGTable::fCellHintsList
protected

Definition at line 85 of file TGTable.h.

◆ fCellWidth

UInt_t TGTable::fCellWidth
protected

Definition at line 50 of file TGTable.h.

◆ fCHdrFrame

TGTableHeaderFrame* TGTable::fCHdrFrame
protected

Definition at line 54 of file TGTable.h.

◆ fCHdrHintsList

TList* TGTable::fCHdrHintsList
protected

Definition at line 87 of file TGTable.h.

◆ fColumnHeaders

TObjArray* TGTable::fColumnHeaders
protected

Definition at line 39 of file TGTable.h.

◆ fCurrentRange

TTableRange* TGTable::fCurrentRange
protected

Definition at line 45 of file TGTable.h.

◆ fDataRange

TTableRange* TGTable::fDataRange
protected

Definition at line 46 of file TGTable.h.

◆ fEvenRowBackground

Pixel_t TGTable::fEvenRowBackground
protected

Definition at line 75 of file TGTable.h.

◆ fFirstCellEntry

TGTextEntry* TGTable::fFirstCellEntry
protected

Definition at line 71 of file TGTable.h.

◆ fFirstCellLabel

TGLabel* TGTable::fFirstCellLabel
protected

Definition at line 69 of file TGTable.h.

◆ fGotoButton

TGTextButton* TGTable::fGotoButton
protected

Definition at line 66 of file TGTable.h.

◆ fGotoRange

TTableRange* TGTable::fGotoRange
protected

Definition at line 47 of file TGTable.h.

◆ fHeaderBackground

Pixel_t TGTable::fHeaderBackground
protected

Definition at line 76 of file TGTable.h.

◆ fInterface

TVirtualTableInterface* TGTable::fInterface
protected

Definition at line 96 of file TGTable.h.

◆ fMainHintsList

TList* TGTable::fMainHintsList
protected

Definition at line 88 of file TGTable.h.

◆ fNextButton

TGTextButton* TGTable::fNextButton
protected

Definition at line 63 of file TGTable.h.

◆ fOddRowBackground

Pixel_t TGTable::fOddRowBackground
protected

Definition at line 74 of file TGTable.h.

◆ fPrevButton

TGTextButton* TGTable::fPrevButton
protected

Definition at line 64 of file TGTable.h.

◆ fRangeEntry

TGTextEntry* TGTable::fRangeEntry
protected

Definition at line 72 of file TGTable.h.

◆ fRangeFrame

TGHorizontalFrame* TGTable::fRangeFrame
protected

Definition at line 56 of file TGTable.h.

◆ fRangeLabel

TGLabel* TGTable::fRangeLabel
protected

Definition at line 70 of file TGTable.h.

◆ fReadOnly

Bool_t TGTable::fReadOnly
protected

Definition at line 41 of file TGTable.h.

◆ fRHdrFrame

TGTableHeaderFrame* TGTable::fRHdrFrame
protected

Definition at line 55 of file TGTable.h.

◆ fRHdrHintsList

TList* TGTable::fRHdrHintsList
protected

Definition at line 86 of file TGTable.h.

◆ fRowHeaders

TObjArray* TGTable::fRowHeaders
protected

Definition at line 38 of file TGTable.h.

◆ fRows

TObjArray* TGTable::fRows
protected

Definition at line 37 of file TGTable.h.

◆ fSelectColor

Pixel_t TGTable::fSelectColor
protected

Definition at line 42 of file TGTable.h.

◆ fTableFrame

TGTableFrame* TGTable::fTableFrame
protected

Definition at line 48 of file TGTable.h.

◆ fTableHeader

TGTableHeader* TGTable::fTableHeader
protected

Definition at line 40 of file TGTable.h.

◆ fTMode

Int_t TGTable::fTMode
protected

Definition at line 43 of file TGTable.h.

◆ fTopExtraFrame

TGHorizontalFrame* TGTable::fTopExtraFrame
protected

Definition at line 58 of file TGTable.h.

◆ fTopFrame

TGHorizontalFrame* TGTable::fTopFrame
protected

Definition at line 57 of file TGTable.h.

◆ fUpdateButton

TGTextButton* TGTable::fUpdateButton
protected

Definition at line 65 of file TGTable.h.

Libraries for TGTable:
[legend]

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