GNOME UI Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#define GNOME_MESSAGE_BOX_INFO #define GNOME_MESSAGE_BOX_WARNING #define GNOME_MESSAGE_BOX_ERROR #define GNOME_MESSAGE_BOX_QUESTION #define GNOME_MESSAGE_BOX_GENERIC struct GnomeMessageBoxPrivate; struct GnomeMessageBoxButton; GtkWidget* gnome_message_box_new (const gchar *message, const gchar *messagebox_type, ...); GtkWidget* gnome_message_box_newv (const gchar *message, const gchar *messagebox_type, const gchar **buttons); |
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GnomeDialog +----GnomeMessageBox |
GtkWidget* gnome_message_box_new (const gchar *message, const gchar *messagebox_type, ...); |
Creates a dialog box of type message_box_type with message. A number of buttons are inserted on it. You can use the GNOME stock identifiers to create gnome-stock-buttons.
GtkWidget* gnome_message_box_newv (const gchar *message, const gchar *messagebox_type, const gchar **buttons); |
Creates a dialog box of type message_box_type with message. A number of buttons are inserted on it, the messages come from the buttons array. You can use the GNOME stock identifiers to create gnome-stock-buttons. The buttons array can be NULL if you wish to add buttons yourself later.