library: libGui #include "TGStatusBar.h" |
TGStatusBar
class description - header file - source file - inheritance tree (.pdf)
protected:
TGStatusBar(const TGStatusBar&)
virtual void DoRedraw()
static FontStruct_t GetDefaultFontStruct()
static const TGGC& GetDefaultGC()
TGStatusBar& operator=(const TGStatusBar&)
public:
TGStatusBar(const TGWindow* p = 0, UInt_t w = 4, UInt_t h = 2, UInt_t options = kSunkenFrame|kHorizontalFrame, Pixel_t back = GetDefaultFrameBackground())
virtual ~TGStatusBar()
void AddText(const char* text, Int_t partidx = 0)
static TClass* Class()
void Draw3DCorner(Bool_t corner)
virtual void DrawBorder()
TGCompositeFrame* GetBarPart(Int_t npart) const
virtual TGDimension GetDefaultSize() const
virtual TClass* IsA() const
virtual void SavePrimitive(ostream& out, Option_t* option = "")
virtual void SetParts(Int_t npart)
virtual void SetParts(Int_t* parts, Int_t npart)
virtual void SetText(TGString* text, Int_t partidx = 0)
virtual void SetText(const char* text, Int_t partidx = 0)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
static TGLayoutHints* fgHints hints to add parts (kLHintsTop|kLHintsLeft,0,0,0,0)
protected:
TGStatusBarPart** fStatusPart frames containing statusbar text
Int_t* fParts size of parts (in percent of total width)
Int_t fNpart number of parts
Int_t fYt y drawing position (depending on font)
Int_t* fXt x position for each part
Bool_t f3DCorner draw 3D corner (drawn by default)
static const TGFont* fgDefaultFont
static TGGC* fgDefaultGC
void SetText(const char *text, Int_t partidx)
Set text in partion partidx in status bar.
void DrawBorder()
Draw the status bar border (including cute 3d corner).
void SetParts(Int_t *parts, Int_t npart)
Divide the status bar in nparts. Size of each part is given in parts
array (percentual).
void SetParts(Int_t npart)
Divide the status bar in npart equal sized parts.
Author: Fons Rademakers 23/01/98
Last update: root/gui:$Name: $:$Id: TGStatusBar.cxx,v 1.20 2006/07/03 16:10:45 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.