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