gtkutil::ModalInfoDialog Class Reference

#include <ModalInfoDialog.h>

Public Member Functions

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

Static Private Member Functions

static gboolean _onDelete (GtkWidget *widget, gpointer data)

Private Attributes

GtkWidget_widget
GtkWidget_label

Detailed Description

A simple dialog containing a 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 18 of file ModalInfoDialog.h.


Constructor & Destructor Documentation

gtkutil::ModalInfoDialog::ModalInfoDialog ( GtkWindow parent,
const std::string title 
) [inline]

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

Definition at line 40 of file ModalInfoDialog.h.

References _label, _onDelete(), and _widget.

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

Destructor. Destroys window and contained widgets.

Definition at line 64 of file ModalInfoDialog.h.

References _widget.


Member Function Documentation

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

Definition at line 30 of file ModalInfoDialog.h.

Referenced by ModalInfoDialog().

void gtkutil::ModalInfoDialog::setText ( const std::string text  )  [inline]

Set the text to display in the label.

Definition at line 71 of file ModalInfoDialog.h.

References _label.


Field Documentation

Definition at line 24 of file ModalInfoDialog.h.

Referenced by ModalInfoDialog(), and setText().

Definition at line 21 of file ModalInfoDialog.h.

Referenced by ModalInfoDialog(), and ~ModalInfoDialog().


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

Generated by  doxygen 1.6.2