library: libGui
#include "TGProgressBar.h"

TGVProgressBar


class description - 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 SavePrimitive(ofstream& out, Option_t* option) 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 ? GetDefaultFrameBackground() : fgWhitePixel, fgDefaultSelectedBackground, GetDefaultGC()(), GetDefaultFontStruct(), 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.

void SavePrimitive(ofstream &out, Option_t *option)
 Save a vertical progress bar as a C++ statement(s) on output stream out.



Inline Functions


                  void ~TGVProgressBar()
        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&)


Author: Fons Rademakers 10/10/2000
Last update: root/gui:$Name: $:$Id: TGProgressBar.cxx,v 1.11 2005/04/05 13:12:15 rdm 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.