GnomeMessageBox

Name

GnomeMessageBox — one line description goes here.

Synopsis


#include <gnome.h>


struct      GnomeMessageBox
#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      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);
void        gnome_message_box_set_modal     (GnomeMessageBox *messagebox);
void        gnome_message_box_set_default   (GnomeMessageBox *messagebox,
                                             gint button);

Object Hierarchy


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

Description

Details


GnomeMessageBox

struct GnomeMessageBox;


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"


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.

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.


gnome_message_box_set_modal()

void        gnome_message_box_set_modal     (GnomeMessageBox *messagebox);

messagebox : 


gnome_message_box_set_default()

void        gnome_message_box_set_default   (GnomeMessageBox *messagebox,
                                             gint button);

messagebox : button :