11#ifndef ROOT_TGTableCell
12#define ROOT_TGTableCell
76 virtual void SetLabel(
const char *label);
83 virtual void SetFont(
const char *fontName);
Handle_t GContext_t
Graphics context handle.
Handle_t FontStruct_t
Pointer to font structure.
ULongptr_t Handle_t
Generic resource handle.
#define ClassDef(name, id)
include TDocParser_001 C image html pict1_TDocParser_001 png width
Encapsulate fonts used in the GUI system.
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
UInt_t fHeight
frame height
Encapsulate a graphics context used in the low level graphics.
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
TGString wraps a TString and adds some graphics routines like drawing, size of string on screen depen...
TGTableCell is the class that represents a single cell in a TGTable.
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
Default font.
virtual void SetLabel(const char *label)
Set the label of this cell to label.
TGToolTip * fTip
Possible Tooltip.
static const TGGC * fgDefaultGC
Default graphics context.
virtual UInt_t GetWidth() const
virtual void Resize(UInt_t width, UInt_t height)
Resize the TGTableCell.
Int_t fTMode
Text justify mode.
UInt_t fTWidth
Label width.
virtual Int_t GetTextJustify() const
virtual void DrawCopy(Handle_t id, Int_t x, Int_t y)
Draw list view item in other window.
TGPicture * fImage
Image or icon.
FontStruct_t fFontStruct
Font of the label.
virtual UInt_t GetRow() const
Bool_t fReadOnly
Cell readonly state.
TGTable * fTable
TGTable that a cell belongs to.
UInt_t fTHeight
Label height.
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.
TGString * fLabel
Text as shown in the cell.
Bool_t fEnabled
Cell enabled state.
virtual TGDimension GetSize() const
static FontStruct_t GetDefaultFontStruct()
Return default font structure.
UInt_t fRow
Row this cell belongs to.
virtual void DoRedraw()
Redraw the TGTableCell.
virtual TGString * GetLabel() const
virtual TGPicture * GetImage() const
UInt_t fColumn
Column this cell belongs to.
virtual ~TGTableCell()
TGTableCell destructor.
Bool_t fHasOwnFont
Does the cell have it's own font.
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.
GContext_t fNormGC
graphics context used to draw the cell
virtual UInt_t GetHeight() const
virtual UInt_t GetColumn() const
Create an array to hold a bunch of numbers.
ROOT GUI Window base class.