GTK+ IOStream
Beta
<< GTK+ >> add C++ IOStream operators to GTK+. Now with extra abilities ... like network serialisation
|
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>
Public Member Functions | |
ProgressBar (void) | |
Constructor. More... | |
~ProgressBar (void) | |
Destructor. More... | |
ProgressBar & | operator= (float what) |
GtkWidget * | getWidget (void) |
void | show (void) |
void | hide (void) |
Private Attributes | |
GtkWidget * | pBar |
The progress bar. More... | |
float | last |
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.
|
inline |
|
inline |
Destructor.
Definition at line 48 of file ProgressBar.H.
|
inline |
Get the widget
Definition at line 78 of file ProgressBar.H.
|
inline |
hide the widget
Definition at line 90 of file ProgressBar.H.
|
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.
what | the fractional fill or pulse indicator |
Definition at line 62 of file ProgressBar.H.
|
inline |
Show the widget
Definition at line 84 of file ProgressBar.H.
|
private |
Definition at line 32 of file ProgressBar.H.
|
private |
The progress bar.
Definition at line 31 of file ProgressBar.H.