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>
|
| ProgressBar (void) |
| Constructor. More...
|
|
| ~ProgressBar (void) |
| Destructor. More...
|
|
ProgressBar & | operator= (float what) |
|
| Widget () |
| Construcotr. More...
|
|
| Widget (GtkWidget *w) |
|
virtual | ~Widget () |
| Destructor. More...
|
|
GtkWidget * | ref (void) |
|
void | unref (void) |
|
GtkWidget * | show (void) |
|
GtkWidget * | hide (void) |
|
bool | getVisible (void) |
|
GtkWidget * | getWidget (void) |
|
bool | getSensitive (void) |
|
void | setSensitive (bool sens) |
|
void | getSize (int &width, int &height) |
|
virtual void | setSize (int width, int height) |
|
void | getLocationSize (int &x, int &y, int &width, int &height) |
|
void | queueDraw () |
|
GdkWindow * | getWindow () |
|
void | connect (const char *event, GCallback callback, gpointer data) |
|
void | connectAfter (const char *event, GCallback callback, gpointer data) |
|
void | connectExposeEventCallback (GCallback callback, void *data) |
|
void | connectExposeEventCallback (GtkWidget *w, GCallback callback, void *data) |
|
void | connectConfigureEventCallback (GCallback callback, void *data) |
|
void | connectConfigureEventCallback (GtkWidget *w, GCallback callback, void *data) |
|
Widget & | operator<< (DragNDrop &dnd) |
|
Widget & | operator>> (DragNDrop &dnd) |
|
|
virtual bool | checkDropValidity (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData) |
|
virtual bool | dragDataReceived (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData, int length) |
|
virtual void | dragLeave (GtkWidget *w, GtkWidget *sourceWidget) |
|
virtual bool | dragMotion (GtkWidget *w, GtkWidget *sourceWidget, int x, int y) |
|
virtual int | chooseTheTargetToUse (GtkWidget *w, GtkWidget *sourceWidget, DragNDrop &dnd) |
|
virtual void | dragDataGet (GtkWidget *w, GtkSelectionData *selectionData, guint info) |
|
virtual void | dragDataDelete (GtkWidget *w) |
|
virtual void | dragBegin (GtkWidget *w) |
|
virtual void | dragEnd (GtkWidget *w) |
|
GtkWidget * | widget |
| The container based widget. More...
|
|
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'.
- Examples:
- ProgressBarTest.C.
Definition at line 33 of file ProgressBar.H.
◆ ProgressBar()
ProgressBar::ProgressBar |
( |
void |
| ) |
|
|
inline |
◆ ~ProgressBar()
ProgressBar::~ProgressBar |
( |
void |
| ) |
|
|
inline |
◆ operator=()
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
-
what | the fractional fill or pulse indicator |
Definition at line 65 of file ProgressBar.H.
◆ last
◆ widget
GtkWidget* ProgressBar::widget |
|
private |
The documentation for this class was generated from the following file: