#include <MessageDialog.H>
|
| MessageDialog (GtkWidget *parent, GtkDialogFlags flags, GtkMessageType whichType, GtkButtonsType buttonsType, const char *text) |
|
| MessageDialog (GtkWidget *parent, GtkDialogFlags flags, GtkMessageType whichType, GtkButtonsType buttonsType, string &text) |
|
| MessageDialog (GtkWidget *parent, GtkDialogFlags flags, GtkMessageType whichType, GtkButtonsType buttonsType, Pango &pango) |
|
virtual | ~MessageDialog () |
|
MessageDialog & | operator<< (char *str) |
|
MessageDialog & | operator<< (string str) |
|
MessageDialog & | operator<< (Pango &pango) |
|
void | run (void) |
|
void | title (char *text) |
|
void | title (string &text) |
|
GtkWidget * | getWidget (void) |
|
GtkWidget * | show (void) |
|
GtkWidget * | hide (void) |
|
void | setBorder (unsigned int size) |
|
unsigned int | getBorder (void) |
|
Container & | operator<< (Container &b) |
|
Container & | operator<< (Container *b) |
|
virtual Container & | operator<< (GtkWidget *b) |
|
Container & | operator<< (LinkList< GtkWidget * > &ll) |
|
Container & | operator>> (GtkWidget *b) |
|
Container & | operator>> (Container *b) |
|
Container & | operator>> (Container &b) |
|
virtual | ~Widget () |
| Destructor. More...
|
|
GtkWidget * | ref (void) |
|
void | unref (void) |
|
|
virtual void | pack (GtkWidget *obj) |
|
GtkWidget * | widget |
| The container based widget. More...
|
|
The default message dialog which displays either text or Pango.
Here is an example of a MessageInfo dialog using Pango :
See MessageInfo, MessageError, MessageQuestion and MessageWarning for other examples.
Definition at line 32 of file MessageDialog.H.
MessageDialog::MessageDialog |
( |
GtkWidget * |
parent, |
|
|
GtkDialogFlags |
flags, |
|
|
GtkMessageType |
whichType, |
|
|
GtkButtonsType |
buttonsType, |
|
|
const char * |
text |
|
) |
| |
|
inline |
A dialog which defaults to 'other' type with no buttons
- Parameters
-
parent | The parent window to show (default=NULL) |
flags | which control the behaviour GTK_DIALOG_MODAL, GTK_DIALOG_DESTROY_WITH_PARENT (default), GTK_DIALOG_NO_SEPARATOR |
whichType | the type of dialog which controls the icon (default=GTK_MESSAGE_OTHER) |
buttonsType | The buttons which are shown (default=GTK_BUTTONS_NONE) |
text | The text to show (default=NULL) |
Definition at line 41 of file MessageDialog.H.
MessageDialog::MessageDialog |
( |
GtkWidget * |
parent, |
|
|
GtkDialogFlags |
flags, |
|
|
GtkMessageType |
whichType, |
|
|
GtkButtonsType |
buttonsType, |
|
|
string & |
text |
|
) |
| |
|
inline |
A dialog which defaults to 'other' type with no buttons
- Parameters
-
parent | The parent window to show (default=NULL) |
flags | which control the behaviour GTK_DIALOG_MODAL, GTK_DIALOG_DESTROY_WITH_PARENT (default), GTK_DIALOG_NO_SEPARATOR |
whichType | the type of dialog which controls the icon (default=GTK_MESSAGE_OTHER) |
buttonsType | The buttons which are shown (default=GTK_BUTTONS_NONE) |
text | The text to show (default=NULL) |
Definition at line 52 of file MessageDialog.H.
MessageDialog::MessageDialog |
( |
GtkWidget * |
parent, |
|
|
GtkDialogFlags |
flags, |
|
|
GtkMessageType |
whichType, |
|
|
GtkButtonsType |
buttonsType, |
|
|
Pango & |
pango |
|
) |
| |
|
inline |
A dialog using Pango
- Parameters
-
parent | The parent window to show (default=NULL) |
flags | which control the behaviour GTK_DIALOG_MODAL, GTK_DIALOG_DESTROY_WITH_PARENT (default), GTK_DIALOG_NO_SEPARATOR |
whichType | the type of dialog which controls the icon (default=GTK_MESSAGE_OTHER) |
buttonsType | The buttons which are shown (default=GTK_BUTTONS_NONE) |
pango | The pango markup to show |
Definition at line 63 of file MessageDialog.H.
virtual MessageDialog::~MessageDialog |
( |
| ) |
|
|
inlinevirtual |
Load the string into the dialog
- Parameters
-
- Returns
- A reference to this instance of the class
Definition at line 77 of file MessageDialog.H.
Load the char* string into the dialog
- Parameters
-
- Returns
- A reference to this instance of the class
Definition at line 85 of file MessageDialog.H.
Set the box text to the Pango markup
- Parameters
-
pango | the Pango markup to use |
- Returns
- A reference to this instance of the class
Definition at line 95 of file MessageDialog.H.
void MessageDialog::run |
( |
void |
| ) |
|
|
inline |
void MessageDialog::title |
( |
char * |
text | ) |
|
|
inline |
void MessageDialog::title |
( |
string & |
text | ) |
|
|
inline |
The documentation for this class was generated from the following file: