TGStatusBar


class description - source file - inheritance tree

class TGStatusBar : public TGFrame


    protected:
virtual void DoRedraw() public:
TGStatusBar TGStatusBar(TGWindow* p, UInt_t w, UInt_t h, UInt_t options = kSunkenFrame, ULong_t back = fgDefaultFrameBackground) TGStatusBar TGStatusBar(TGStatusBar&) virtual void ~TGStatusBar() TClass* Class() virtual void DrawBorder() virtual TClass* IsA() virtual void SetParts(Int_t* parts, Int_t npart) virtual void SetParts(Int_t npart) virtual void SetText(TGString* text, Int_t partidx = 0) virtual void SetText(char* text, Int_t partidx = 0) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

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 static GContext_t fgDefaultGC static FontStruct_t fgDefaultFontStruct

Class Description

                                                                      
 TGStatusBar                                                          
                                                                      
 Provides a StatusBar widget.                                         
                                                                      


TGStatusBar(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options, ULong_t back) : TGFrame(p, w, h, options, back)
 Create a status bar widget. By default it consist of one part.
 Multiple parts can be created using SetParts().

~TGStatusBar()
 Delete status bar widget.

void SetText(TGString *text, Int_t partidx)
 Set text in partition partidx in status bar. The TGString is
 adopted by the status bar.

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 DoRedraw()
 Redraw status bar.

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.



Inline Functions


            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
        TGStatusBar TGStatusBar(TGStatusBar&)


Author: Fons Rademakers 23/01/98
Last update: 2.00/00 16/02/98 02.36.03 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - 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.