library: libGui
#include "TGProgressBar.h"

TGVProgressBar


class description - header file - source file - inheritance tree (.pdf)

class TGVProgressBar : public TGProgressBar

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGProgressBar
<-
TGVProgressBar

    protected:
virtual void DoRedraw() public:
TGVProgressBar(const TGWindow* p = 0, UInt_t w = kProgressBarTextWidth, UInt_t h = 4, Pixel_t back = GetWhitePixel(), Pixel_t barcolor = GetDefaultSelectedBackground(), GContext_t norm = GetDefaultGC()(), FontStruct_t font = GetDefaultFontStruct(), UInt_t options = kDoubleBorder|kSunkenFrame) TGVProgressBar(const TGWindow* p, TGProgressBar::EBarType type, UInt_t h) TGVProgressBar(const TGVProgressBar&) virtual ~TGVProgressBar() static TClass* Class() virtual TGDimension GetDefaultSize() const virtual TClass* IsA() const virtual void Percent(Bool_t) virtual void SavePrimitive(ostream& out, Option_t* option = "") virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void ShowPos(Bool_t) 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, UInt_t w, UInt_t h, Pixel_t back, Pixel_t barcolor, GContext_t norm, FontStruct_t font,UInt_t options)
 cconstructor
TGVProgressBar(const TGWindow *p, EBarType type, UInt_t h)
 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.
void SavePrimitive(ostream &out, Option_t *option /*= ""*/)
 Save a vertical progress bar as a C++ statement(s) on output stream out.
void Percent(Bool_t on)
void ShowPos(Bool_t on)
TGDimension GetDefaultSize()
TGVProgressBar(const TGWindow *p = 0, UInt_t w = kProgressBarTextWidth, UInt_t h = 4, Pixel_t back = GetWhitePixel(), Pixel_t barcolor = GetDefaultSelectedBackground(), GContext_t norm = GetDefaultGC()(), FontStruct_t font = GetDefaultFontStruct(), UInt_t options = kDoubleBorder | kSunkenFrame)
virtual ~TGVProgressBar()

Author: Fons Rademakers 10/10/2000
Last update: root/gui:$Name: $:$Id: TGProgressBar.cxx,v 1.17 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.