Message box.
More...
#include <gcugtk/message.h>
|
| Message (Application *app, std::string &message, GtkMessageType type, GtkButtonsType buttons, GtkWindow *parent=NULL, bool modal=false) |
|
| Message (Application *app, char const *message, GtkMessageType type, GtkButtonsType buttons, GtkWindow *parent=NULL, bool modal=false) |
|
virtual | ~Message () |
|
int | Run () |
|
void | Show () |
|
Message box.
This class implements a wrapper around GtkMessageDialog.
Definition at line 41 of file message.h.
gcugtk::Message::Message |
( |
Application * |
app, |
|
|
std::string & |
message, |
|
|
GtkMessageType |
type, |
|
|
GtkButtonsType |
buttons, |
|
|
GtkWindow * |
parent = NULL , |
|
|
bool |
modal = false |
|
) |
| |
- Parameters
-
app | the Application owning the message box. |
message | the text displayed inside the message box. |
type | the message box type. |
buttons | the buttons to display. |
parent | the parent window. |
modal | whether the message should be a modal dialog. |
Contructs a new message box.
gcugtk::Message::Message |
( |
Application * |
app, |
|
|
char const * |
message, |
|
|
GtkMessageType |
type, |
|
|
GtkButtonsType |
buttons, |
|
|
GtkWindow * |
parent = NULL , |
|
|
bool |
modal = false |
|
) |
| |
- Parameters
-
app | the Application owning the message box. |
message | the text displayed inside the message box. |
type | the message box type. |
buttons | the buttons to display. |
parent | the parent window. |
modal | whether the message should be a modal dialog. |
Contructs a new message box.
virtual gcugtk::Message::~Message |
( |
| ) |
|
|
virtual |
int gcugtk::Message::Run |
( |
| ) |
|
Runs the modal message box.
- Returns
- the response from the dialog.
void gcugtk::Message::Show |
( |
| ) |
|
Displays a non modal message box.
The documentation for this class was generated from the following file: