Tutorial |
||
|
||
|
MessageDialog(Gtk::MessageType
type, Gtk::ButtonType buttons, Gtk::Window *parent = 0,
Gtk::DialogFlagsField flags = Gtk::DIALOG_DESTROY_WITH_PARENT); MessageDialog(Gtk::MessageType type, Gtk::ButtonType buttons, const String& message, Gtk::Window *parent = 0, Gtk::DialogFlagsField flags = DIALOG_DESTROY_WITH_PARENT); |
void
set_message(const String& message); void set_message(const char *message_format, ...); |
int run(); |
Gtk::MessageDialog
*dialog(Gtk::MESSAGE_INFO, Gtk::BUTTONS_CLOSE, this); dialog->set_message("You selected or toggled the \"%s\" menu item: \"%s\"", parent, item); if (dialog->run()) dialog->dispose(); |
|
|||
|
|||