![]() |
![]() |
![]() |
MATE UI Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
#include <libmateui/libmateui.h> #define MATE_MESSAGE_BOX_INFO #define MATE_MESSAGE_BOX_WARNING #define MATE_MESSAGE_BOX_ERROR #define MATE_MESSAGE_BOX_QUESTION #define MATE_MESSAGE_BOX_GENERIC struct MateMessageBox; GtkWidget * mate_message_box_new (const gchar *message
,const gchar *message_box_type
,...
); GtkWidget * mate_message_box_newv (const gchar *message
,const gchar *message_box_type
,const gchar **buttons
); void mate_message_box_construct (MateMessageBox *messagebox
,const gchar *message
,const gchar *message_box_type
,const gchar **buttons
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----MateDialog +----MateMessageBox
#define MATE_MESSAGE_BOX_INFO "info"
MATE_MESSAGE_BOX_INFO
is deprecated and should not be used in newly-written code.
A constant that can be passed to mate_message_box_new()
to specify the type of
message box to create.
#define MATE_MESSAGE_BOX_WARNING "warning"
MATE_MESSAGE_BOX_WARNING
is deprecated and should not be used in newly-written code.
A constant that can be passed to mate_message_box_new()
to specify the type of
message box to create.
#define MATE_MESSAGE_BOX_ERROR "error"
MATE_MESSAGE_BOX_ERROR
is deprecated and should not be used in newly-written code.
A constant that can be passed to mate_message_box_new()
to specify the type of
message box to create.
#define MATE_MESSAGE_BOX_QUESTION "question"
MATE_MESSAGE_BOX_QUESTION
is deprecated and should not be used in newly-written code.
A constant that can be passed to mate_message_box_new()
to specify the type of
message box to create.
#define MATE_MESSAGE_BOX_GENERIC "generic"
MATE_MESSAGE_BOX_GENERIC
is deprecated and should not be used in newly-written code.
A constant that can be passed to mate_message_box_new()
to specify the type of
message box to create.
struct MateMessageBox { MateDialog dialog; };
MateMessageBox
is deprecated and should not be used in newly-written code.
MateDialog |
A MateDialog widget holding the contents of the message box. |
GtkWidget * mate_message_box_new (const gchar *message
,const gchar *message_box_type
,...
);
mate_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 MATE stock identifiers
to create mate-stock-buttons.
|
The message to be displayed. |
|
The type of the message |
|
A NULL terminated list of strings to use in each button. |
Returns : |
a widget that has the dialog box. |
GtkWidget * mate_message_box_newv (const gchar *message
,const gchar *message_box_type
,const gchar **buttons
);
mate_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 MATE stock identifiers to create mate-stock-buttons.
The buttons array can be NULL if you wish to add buttons yourself later.
|
The message to be displayed. |
|
The type of the message |
|
a NULL terminated array with the buttons to insert. |
Returns : |
a widget that has the dialog box. |
void mate_message_box_construct (MateMessageBox *messagebox
,const gchar *message
,const gchar *message_box_type
,const gchar **buttons
);
mate_message_box_construct
is deprecated and should not be used in newly-written code.
For language bindings or subclassing, from C use mate_message_box_new or mate_message_box_newv
|
The message box to construct |
|
The message to be displayed. |
|
The type of the message |
|
a NULL terminated array with the buttons to insert. |