gtkutil::ModalProgressDialog Class Reference

#include <ModalProgressDialog.h>

Public Member Functions

 ModalProgressDialog (GtkWindow *parent, const std::string &title)
 ~ModalProgressDialog ()
void setText (const std::string &text)

Private Member Functions

void handleEvents ()

Static Private Member Functions

static gboolean _onDelete (GtkWidget *widget, gpointer data)

Private Attributes

GtkWidget_widget
GtkWidget_label
GtkWidget_progressBar

Detailed Description

A simple dialog containing a progress bar and label which can be updated by the owning process to indicate the progress of a task, such as the loading of textures.

Definition at line 15 of file ModalProgressDialog.h.


Constructor & Destructor Documentation

gtkutil::ModalProgressDialog::ModalProgressDialog ( GtkWindow parent,
const std::string title 
)

Constructor accepts window to be modal for and the dialog title.

gtkutil::ModalProgressDialog::~ModalProgressDialog (  )  [inline]

Destructor. Destroys window and contained widgets.

Definition at line 48 of file ModalProgressDialog.h.

References _widget.


Member Function Documentation

static gboolean gtkutil::ModalProgressDialog::_onDelete ( GtkWidget widget,
gpointer  data 
) [inline, static, private]

Definition at line 30 of file ModalProgressDialog.h.

void gtkutil::ModalProgressDialog::handleEvents (  )  [private]
void gtkutil::ModalProgressDialog::setText ( const std::string text  ) 

Set the text to display in the label.


Field Documentation

Definition at line 21 of file ModalProgressDialog.h.

Definition at line 24 of file ModalProgressDialog.h.

Definition at line 18 of file ModalProgressDialog.h.

Referenced by ~ModalProgressDialog().


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

Generated by  doxygen 1.6.2