Gtk::MessageDialog presents a dialog with an image representing the type of message (Error, Question, etc.) alongside some message text. It's simply a convenience widget; you could construct the equivalent of Gtk::MessageDialog from Gtk::Dialog without too much effort, but Gtk::MessageDialog saves typing.
|
Public Member Functions |
| const GtkMessageDialog* | gobj () const |
| | Provides access to the underlying C GtkObject.
|
| GtkMessageDialog* | gobj () |
| | Provides access to the underlying C GtkObject.
|
| | MessageDialog (Gtk::Window& parent, const Glib::ustring& message, bool use_markup=false, MessageType type=MESSAGE_INFO, ButtonsType buttons=BUTTONS_OK, bool modal=false) |
| | MessageDialog (const Glib::ustring& message, bool use_markup=false, MessageType type=MESSAGE_INFO, ButtonsType buttons=BUTTONS_OK, bool modal=false) |
| void | set_markup (const Glib::ustring& str) |
| | Sets the text of the message dialog to be str , which is marked up with the Pango text markup language.
|
| void | set_message (const Glib::ustring& message, bool use_markup=false) |
| void | set_secondary_text (const Glib::ustring& text, bool use_markup=false) |
| virtual | ~MessageDialog () |
Related Functions |
(Note that these are not member functions.)
|
| Gtk::MessageDialog* | wrap (GtkMessageDialog* object, bool take_copy=false) |