11 #ifndef ROOT_TGTableCell 12 #define ROOT_TGTableCell 85 virtual void SetLabel(
const char *label);
92 virtual void SetFont(
const char *fontName);
static const TGGC * fgDefaultGC
virtual void SetLabel(const char *label)
Set the label of this cell to label.
virtual ~TGTableCell()
TGTableCell destructor.
void Init(Bool_t resize)
Initialise the TGTableCell.
virtual void SetFont(FontStruct_t font)
Changes text font.
virtual UInt_t GetWidth() const
static FontStruct_t GetDefaultFontStruct()
Return default font structure.
static const TGFont * fgDefaultFont
virtual TGDimension GetSize() const
#define ClassDef(name, id)
virtual void DrawCopy(Handle_t id, Int_t x, Int_t y)
Draw list view item in other window.
virtual void Highlight()
Highlight the this TGTableCell.
virtual UInt_t GetRow() const
TGTableCell(const TGWindow *p=0, TGTable *table=0, TGString *label=0, 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 void SetImage(TGPicture *image)
Set the image that this cell contains to image.
virtual Int_t GetTextJustify() const
virtual UInt_t GetColumn() const
virtual void SelectColumn()
Select the column that this TGTableCell belongs to.
static const TGGC & GetDefaultGC()
Return default graphics context.
virtual void SelectRow()
Select the row that this TGTableCell belongs to.
virtual UInt_t GetHeight() const
virtual TGString * GetLabel() const
virtual void DoRedraw()
Redraw the TGTableCell.
virtual void Resize(UInt_t width, UInt_t height)
Resize the TGTableCell.
virtual void SetTextJustify(Int_t tmode)
Set the text justify mode of the cell to mode.
virtual void Select()
Select this TGTableCell.
virtual void MoveDraw(Int_t x, Int_t y)
Move the TGTableCell and redraw it.
virtual void DrawBorder()
Draw the cell border.
double norm(double *x, double *p)
virtual TGPicture * GetImage() const