41 :
TGTableCell(p, table, label, 0, 0,
width,
height, norm, font,
option,
73 const char *label,
UInt_t position,
125 Int_t max_ascent = 0, max_descent = 0;
129 fTHeight = max_ascent + max_descent;
242 while(
fTable->GetColumnHeader(nhdr) !=
this) {
247 while(
fTable->GetRowHeader(nhdr) !=
this) {
Handle_t GContext_t
Graphics context handle.
Handle_t FontStruct_t
Pointer to font structure.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
const Bool_t kSortAscending
virtual UInt_t GetDefaultWidth() const
virtual UInt_t GetDefaultHeight() const
void SetBackgroundColor(Pixel_t back) override
Set background color (override from TGWindow base class).
TGString wraps a TString and adds some graphics routines like drawing, size of string on screen depen...
virtual void SetLabel(const char *label)
Set the label of this cell to label.
TGTableCell(const TGWindow *p=nullptr, TGTable *table=nullptr, TGString *label=nullptr, UInt_t row=0, UInt_t column=0, UInt_t width=80, UInt_t height=25, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=0, Bool_t resize=kTRUE)
TGTableCell constructor.
virtual UInt_t GetWidth() const
UInt_t fTWidth
Label width.
FontStruct_t fFontStruct
Font of the label.
TGTable * fTable
TGTable that a cell belongs to.
UInt_t fTHeight
Label height.
TGString * fLabel
Text as shown in the cell.
UInt_t fRow
Row this cell belongs to.
void Resize(UInt_t width, UInt_t height) override
Resize the TGTableCell.
UInt_t fColumn
Column this cell belongs to.
virtual UInt_t GetHeight() const
virtual TGTableHeader * GetTableHeader()
Return a pointer to the table header.