TGVProgressBar


class description - source file - inheritance tree

class TGVProgressBar : public TGProgressBar


    protected:
virtual void DoRedraw() public:
TGVProgressBar TGVProgressBar(const TGWindow* p, UInt_t w = kProgressBarTextWidth, UInt_t h = 4, ULong_t back = GetWhitePixel(), ULong_t barcolor = GetDefaultSelectedBackground(), GContext_t norm = GetDefaultGC()(), FontStruct_t font = GetDefaultFontStruct(), UInt_t options = kDoubleBorder|kSunkenFrame) TGVProgressBar TGVProgressBar(const TGWindow* p, TGProgressBar::EBarType type, UInt_t h) TGVProgressBar TGVProgressBar(const TGVProgressBar&) virtual void ~TGVProgressBar() static TClass* Class() virtual TGDimension GetDefaultSize() const virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

                                                                      
 TGProgressBar, TGHProgressBar and TGVProgressBar                     
                                                                      
 The classes in this file implement progress bars. Progress bars can  
 be used to show progress of tasks taking more then a few seconds.    
 TGProgressBar is an abstract base class, use either TGHProgressBar   
 or TGVProgressBar. TGHProgressBar can in addition show the position  
 as text in the bar.                                                  
                                                                      


TGVProgressBar(const TGWindow *p, EBarType type, UInt_t h) : TGProgressBar(p, type == kStandard ? kProgressBarStandardWidth : kProgressBarTextWidth, h, type == kStandard ? fgDefaultFrameBackground : fgWhitePixel, fgDefaultSelectedBackground, fgDefaultGC(), fgDefaultFontStruct, type == kStandard ? kSunkenFrame : kDoubleBorder | kSunkenFrame)
 Simple constructor allow you to create either a standard progress
 bar, or a more fancy progress bar (fancy means: double sized border,
 white background and a bit wider to allow for text to be printed
 in the bar.

void DoRedraw()
 Draw vertical progress bar.



Inline Functions


        TGVProgressBar TGVProgressBar(const TGWindow* p, TGProgressBar::EBarType type, UInt_t h)
           TGDimension GetDefaultSize() const
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void StreamerNVirtual(TBuffer& b)
        TGVProgressBar TGVProgressBar(const TGVProgressBar&)
                  void ~TGVProgressBar()


Author: Fons Rademakers 10/10/2000
Last update: root/gui:$Name: $:$Id: TGProgressBar.cxx,v 1.4 2001/11/01 11:39:41 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.