#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) |
|
void | setBorder (unsigned int size) |
|
unsigned int | getBorder (void) |
|
Container & | operator<< (Container &c) |
|
Container & | operator<< (Container *c) |
|
Container & | operator<< (Widget &w) |
|
Container & | operator<< (Widget *w) |
|
virtual Container & | operator<< (GtkWidget *w) |
|
Container & | operator<< (LinkList< GtkWidget *> &ll) |
|
Container & | operator>> (GtkWidget *w) |
|
Container & | operator>> (Container *c) |
|
Container & | operator>> (Container &c) |
|
Container & | operator>> (LinkList< GtkWidget *> &ll) |
|
void | setChildrensSensitivity (bool sens) |
|
bool | areAnyChildrensSensitive (void) |
|
unsigned int | size () |
|
| Widget () |
| Construcotr. More...
|
|
| Widget (GtkWidget *w) |
|
virtual | ~Widget () |
| Destructor. More...
|
|
GtkWidget * | ref (void) |
|
void | unref (void) |
|
GtkWidget * | show (void) |
|
GtkWidget * | hide (void) |
|
bool | getVisible (void) |
|
GtkWidget * | getWidget (void) |
|
bool | getSensitive (void) |
|
void | setSensitive (bool sens) |
|
void | getSize (int &width, int &height) |
|
virtual void | setSize (int width, int height) |
|
void | getLocationSize (int &x, int &y, int &width, int &height) |
|
void | queueDraw () |
|
GdkWindow * | getWindow () |
|
void | connect (const char *event, GCallback callback, gpointer data) |
|
void | connectAfter (const char *event, GCallback callback, gpointer data) |
|
void | connectExposeEventCallback (GCallback callback, void *data) |
|
void | connectExposeEventCallback (GtkWidget *w, GCallback callback, void *data) |
|
void | connectConfigureEventCallback (GCallback callback, void *data) |
|
void | connectConfigureEventCallback (GtkWidget *w, GCallback callback, void *data) |
|
Widget & | operator<< (DragNDrop &dnd) |
|
Widget & | operator>> (DragNDrop &dnd) |
|
|
virtual void | pack (GtkWidget *obj) |
|
virtual bool | checkDropValidity (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData) |
|
virtual bool | dragDataReceived (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData, int length) |
|
virtual void | dragLeave (GtkWidget *w, GtkWidget *sourceWidget) |
|
virtual bool | dragMotion (GtkWidget *w, GtkWidget *sourceWidget, int x, int y) |
|
virtual int | chooseTheTargetToUse (GtkWidget *w, GtkWidget *sourceWidget, DragNDrop &dnd) |
|
virtual void | dragDataGet (GtkWidget *w, GtkSelectionData *selectionData, guint info) |
|
virtual void | dragDataDelete (GtkWidget *w) |
|
virtual void | dragBegin (GtkWidget *w) |
|
virtual void | dragEnd (GtkWidget *w) |
|
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() [1/3]
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() [2/3]
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() [3/3]
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.
◆ ~MessageDialog()
virtual MessageDialog::~MessageDialog |
( |
| ) |
|
|
inlinevirtual |
◆ operator<<() [1/3]
Load the string into the dialog
- Parameters
-
- Returns
- A reference to this instance of the class
Definition at line 80 of file MessageDialog.H.
◆ operator<<() [2/3]
Load the char* string into the dialog
- Parameters
-
- Returns
- A reference to this instance of the class
Definition at line 88 of file MessageDialog.H.
◆ operator<<() [3/3]
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 98 of file MessageDialog.H.
◆ run()
void MessageDialog::run |
( |
void |
| ) |
|
|
inline |
◆ title() [1/2]
void MessageDialog::title |
( |
char * |
text | ) |
|
|
inline |
◆ title() [2/2]
void MessageDialog::title |
( |
string & |
text | ) |
|
|
inline |
The documentation for this class was generated from the following file: