GnomeMessageBox

GnomeMessageBox

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkWindow
                            ╰── GnomeDialog
                                ╰── GnomeMessageBox

Implemented Interfaces

GnomeMessageBox implements AtkImplementorIface and GtkBuildable.

Includes

#include <libgnomeui/libgnomeui.h>

Description

Functions

gnome_message_box_new ()

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

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.

Returns a widget that has the dialog box.

Parameters

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.

 

gnome_message_box_newv ()

GtkWidget *
gnome_message_box_newv (const gchar *message,
                        const gchar *message_box_type,
                        const gchar **buttons);

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.

Returns a widget that has the dialog box.

Parameters

message

The message to be displayed.

 

message_box_type

The type of the message

 

buttons

a NULL terminated array with the buttons to insert.

 

gnome_message_box_construct ()

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

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

Parameters

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.

 

Types and Values

GNOME_MESSAGE_BOX_INFO

#define GNOME_MESSAGE_BOX_INFO      "info"

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


GNOME_MESSAGE_BOX_WARNING

#define GNOME_MESSAGE_BOX_WARNING   "warning"

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


GNOME_MESSAGE_BOX_ERROR

#define GNOME_MESSAGE_BOX_ERROR     "error"

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


GNOME_MESSAGE_BOX_QUESTION

#define GNOME_MESSAGE_BOX_QUESTION  "question"

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


GNOME_MESSAGE_BOX_GENERIC

#define GNOME_MESSAGE_BOX_GENERIC   "generic"

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


struct GnomeMessageBox

struct GnomeMessageBox {
  GnomeDialog dialog;
};

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

Members

GnomeDialog dialog;

A GnomeDialog widget holding the contents of the message box.