GnomeMessageBox

Name

GnomeMessageBox -- 

Synopsis



#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);

Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkWindow
                                 +----GnomeDialog
                                       +----GnomeMessageBox

Description

Details

GNOME_MESSAGE_BOX_INFO

#define GNOME_MESSAGE_BOX_INFO      "info"


GNOME_MESSAGE_BOX_WARNING

#define GNOME_MESSAGE_BOX_WARNING   "warning"


GNOME_MESSAGE_BOX_ERROR

#define GNOME_MESSAGE_BOX_ERROR     "error"


GNOME_MESSAGE_BOX_QUESTION

#define GNOME_MESSAGE_BOX_QUESTION  "question"


GNOME_MESSAGE_BOX_GENERIC

#define GNOME_MESSAGE_BOX_GENERIC   "generic"


struct GnomeMessageBoxPrivate

struct GnomeMessageBoxPrivate;


struct GnomeMessageBoxButton

struct GnomeMessageBoxButton;


gnome_message_box_new ()

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.

message : The message to be displayed.
messagebox_type : 
... : A NULL terminated list of strings to use in each button.
Returns :a widget that has the dialog box.


gnome_message_box_newv ()

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.

message : The message to be displayed.
messagebox_type : 
buttons : a NULL terminated array with the buttons to insert.
Returns :a widget that has the dialog box.