46 :
TGTableCell(p, table, label, 0, 0, width, height, norm, font, option,
51 fWidth = (table) ? table->GetTableHeader()->GetWidth() : 80;
57 fHeight = (table) ? table->GetTableHeader()->GetHeight() : 25;
78 const char *label,
UInt_t position,
81 :
TGTableCell(p, table, label, 0, 0, width, height, norm, font,
130 Int_t max_ascent = 0, max_descent = 0;
134 fTHeight = max_ascent + max_descent;
virtual void SetLabel(const char *label)
Set the label of this cell to label.
virtual UInt_t GetNTableColumns() const
Return the amount of columns in the table.
virtual const TGTableHeader * GetRowHeader(const UInt_t row) const
Const version of GetRowHeader();.
void Init(TClassEdit::TInterpreterLookupHelper *helper)
virtual void SetBackgroundColor(Pixel_t back)
Set background color (override from TGWindow base class).
virtual TGTableHeader * GetTableHeader()
Return a pointer to the table header.
virtual UInt_t GetDefaultWidth() const
virtual UInt_t GetWidth() const
const Bool_t kSortAscending
virtual UInt_t GetHeight() const
virtual UInt_t GetNTableRows() const
Return the amount of rows in the table.
virtual const TGTableHeader * GetColumnHeader(const UInt_t column) const
Const version of GetColumnHeader();.
virtual Pixel_t GetBackground() const
virtual UInt_t GetDefaultHeight() const
virtual void Resize(UInt_t width, UInt_t height)
Resize the TGTableCell.
const char * GetString() const
virtual Pixel_t GetHeaderBackground() const
Get the background color of headers.
double norm(double *x, double *p)