#include <GProgressDlg.h>
Public Member Functions | |
GProgressDlg (GView *parent=0, bool wait=false) | |
Constructor. | |
GProgressPane * | Push () |
Adds a pane. By default there is one pane. | |
void | Pop (GProgressPane *p=0) |
Pops off a pane. | |
GProgressPane * | ItemAt (int i) |
Gets the pane at index 'i'. | |
char * | GetDescription () |
Returns the description of the first pane. | |
void | SetDescription (const char *d) |
Sets the description of the first pane. | |
void | GetLimits (int64 *l, int64 *h) |
Returns the upper and lower limits of the first pane. | |
void | SetLimits (int64 l, int64 h) |
Sets the upper and lower limits of the first pane. | |
double | GetScale () |
Returns the scaling factor of the first pane. | |
void | SetScale (double s) |
Sets the scaling factor of the first pane. | |
int64 | Value () |
Returns the current value of the first pane. | |
void | Value (int64 v) |
Sets the current value of the first pane. | |
const char * | GetType () |
Returns the type description of the first pane. | |
void | SetType (const char *t) |
Sets the type description of the first pane. | |
bool | Cancel () |
Returns whether the user has cancelled the operation. | |
void | OnSync (ProgressList *Prg) |
Syncs an external list of progress objects with the dialog. | |
int | OnEvent (GMessage *Msg) |
Called to process every message received by this window. | |
void | OnPaint (GSurface *pDC) |
Called to paint the onscreen representation of the view. | |
void | OnCreate () |
The view is attached. |
GProgressDlg::GProgressDlg | ( | GView * | parent = 0 , |
|
bool | wait = false | |||
) |
Constructor.
parent | The parent window |
wait | true if the window should not destroy itself when the user cancels the operation. |
References GDialog::DoModeless(), LGI_MET_DECOR_X, LGI_MET_DECOR_Y, LgiApp, GView::MoveToCenter(), GWindow::Name(), GView::SetParent(), GWindow::SetPos(), and GWindow::WindowHandle().