GnomeMessageBox

## GnomeMessageBox GnomeMessageBox — Create standard message boxes. |

## Synopsis

    #include <libgnomeui/libgnomeui.h>

    #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              GnomeMessageBox;
    GtkWidget *         gnome_message_box_new               (const gchar *message,
                                                             const gchar *message_box_type,
                                                             ...);
    GtkWidget *         gnome_message_box_newv              (const gchar *message,
                                                             const gchar *message_box_type,
                                                             const gchar **buttons);
    void                gnome_message_box_construct         (GnomeMessageBox *messagebox,
                                                             const gchar *message,
                                                             const gchar *message_box_type,
                                                             const gchar **buttons);

## Object Hierarchy

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

## Implemented Interfaces

GnomeMessageBox implements AtkImplementorIface and GtkBuildable.

## Description

## Details

### GNOME_MESSAGE_BOX_INFO

    #define GNOME_MESSAGE_BOX_INFO      "info"

### Warning

`GNOME_MESSAGE_BOX_INFO` is deprecated and should not be used in newly-written code.

A constant that can be passed to `gnome_message_box_new()` to specify the type of message box to create.

### GNOME_MESSAGE_BOX_WARNING

    #define GNOME_MESSAGE_BOX_WARNING   "warning"

### Warning

`GNOME_MESSAGE_BOX_WARNING` is deprecated and should not be used in newly-written code.

A constant that can be passed to `gnome_message_box_new()` to specify the type of message box to create.

### GNOME_MESSAGE_BOX_ERROR

    #define GNOME_MESSAGE_BOX_ERROR     "error"

### Warning

`GNOME_MESSAGE_BOX_ERROR` is deprecated and should not be used in newly-written code.

A constant that can be passed to `gnome_message_box_new()` to specify the type of message box to create.

### GNOME_MESSAGE_BOX_QUESTION

    #define GNOME_MESSAGE_BOX_QUESTION  "question"

### Warning

`GNOME_MESSAGE_BOX_QUESTION` is deprecated and should not be used in newly-written code.

A constant that can be passed to `gnome_message_box_new()` to specify the type of message box to create.

### GNOME_MESSAGE_BOX_GENERIC

    #define GNOME_MESSAGE_BOX_GENERIC   "generic"

### Warning

`GNOME_MESSAGE_BOX_GENERIC` is deprecated and should not be used in newly-written code.

A constant that can be passed to `gnome_message_box_new()` to specify the type of message box to create.

### struct GnomeMessageBox

    struct GnomeMessageBox {
      GnomeDialog dialog;
    };

### Warning

`GnomeMessageBox` is deprecated and should not be used in newly-written code.

GnomeDialog `dialog`; | A GnomeDialog widget holding the contents of the message box.

### gnome_message_box_new ()

    GtkWidget *         gnome_message_box_new               (const gchar *message,
                                                             const gchar *message_box_type,
                                                             ...);

### Warning

`gnome_message_box_new` is deprecated and should not be used in newly-written code.

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.
`message_box_type` : | The type of the message
`...` : | 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 *message_box_type,
                                                             const gchar **buttons);

### Warning

`gnome_message_box_newv` is deprecated and should not be used in newly-written code.

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.
`message_box_type` : | The type of the message
`buttons` : | a NULL terminated array with the buttons to insert.
Returns : | a widget that has the dialog box.

### gnome_message_box_construct ()

    void                gnome_message_box_construct         (GnomeMessageBox *messagebox,
                                                             const gchar *message,
                                                             const gchar *message_box_type,
                                                             const gchar **buttons);

### Warning

`gnome_message_box_construct` is deprecated and should not be used in newly-written code.

For language bindings or subclassing, from C use gnome_message_box_new or gnome_message_box_newv

`messagebox` : | The message box to construct
`message` : | The message to be displayed.
`message_box_type` : | The type of the message
`buttons` : | a NULL terminated array with the buttons to insert.