GTK+ IOStream  Beta
<< GTK+ >> add C++ IOStream operators to GTK+. Now with extra abilities ... like network serialisation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
ProgressBar Class Reference

Class to show progress This class shows a progress bar which may be initialised at construction or later. The progress bar ranges between 0.0 and 1.0, negative values cause it to 'pulse'. More...

#include <ProgressBar.H>

Collaboration diagram for ProgressBar:
Collaboration graph
[legend]

Public Member Functions

 ProgressBar (void)
 Constructor. More...
 
 ~ProgressBar (void)
 Destructor. More...
 
ProgressBaroperator= (float what)
 
GtkWidget * getWidget (void)
 
void show (void)
 
void hide (void)
 

Private Attributes

GtkWidget * pBar
 The progress bar. More...
 
float last
 

Detailed Description

Class to show progress This class shows a progress bar which may be initialised at construction or later. The progress bar ranges between 0.0 and 1.0, negative values cause it to 'pulse'.

Definition at line 30 of file ProgressBar.H.

Constructor & Destructor Documentation

ProgressBar::ProgressBar ( void  )
inline

Constructor.

Definition at line 36 of file ProgressBar.H.

Here is the call graph for this function:

ProgressBar::~ProgressBar ( void  )
inline

Destructor.

Definition at line 48 of file ProgressBar.H.

Member Function Documentation

GtkWidget* ProgressBar::getWidget ( void  )
inline
Get the widget
Returns
the progress bar widget

Definition at line 78 of file ProgressBar.H.

Here is the caller graph for this function:

void ProgressBar::hide ( void  )
inline

hide the widget

Definition at line 90 of file ProgressBar.H.

ProgressBar& ProgressBar::operator= ( float  what)
inline
Update the progress bar.

numbers < 0.0 cause a 'pulsing' progress bar numbers >= 0.0 and <= 1.0 set the fractional fill of the progress bar.

Parameters
whatthe fractional fill or pulse indicator

Definition at line 62 of file ProgressBar.H.

void ProgressBar::show ( void  )
inline

Show the widget

Definition at line 84 of file ProgressBar.H.

Here is the caller graph for this function:

Member Data Documentation

float ProgressBar::last
private

Definition at line 32 of file ProgressBar.H.

GtkWidget* ProgressBar::pBar
private

The progress bar.

Definition at line 31 of file ProgressBar.H.


The documentation for this class was generated from the following file: