|
Data Structures |
struct | Etk_Message_Dialog |
| [Widget] The structure of a message dialog More...
|
Defines |
#define | ETK_MESSAGE_DIALOG_TYPE (etk_message_dialog_type_get()) |
#define | ETK_MESSAGE_DIALOG(obj) (ETK_OBJECT_CAST((obj), ETK_MESSAGE_DIALOG_TYPE, Etk_Message_Dialog)) |
#define | ETK_IS_MESSAGE_DIALOG(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_MESSAGE_DIALOG_TYPE)) |
Enumerations |
enum | Etk_Message_Dialog_Type {
ETK_MESSAGE_DIALOG_INFO,
ETK_MESSAGE_DIALOG_WARNING,
ETK_MESSAGE_DIALOG_QUESTION,
ETK_MESSAGE_DIALOG_ERROR
} |
| The type of the message of the dialog. More...
|
enum | Etk_Message_Dialog_Buttons |
| Some common sets of buttons for the message dialog. To use your own buttons, you can use ETK_MESSAGE_DIALOG_NONE and add your buttons with etk_dialog_button_add(). More...
|
Functions |
Etk_Widget * | etk_message_dialog_new (Etk_Message_Dialog_Type message_type, Etk_Message_Dialog_Buttons buttons, const char *text) |
| Creates a new message dialog.
|
void | etk_message_dialog_text_set (Etk_Message_Dialog *dialog, const char *text) |
| Sets the message dialog's text.
|
const char * | etk_message_dialog_text_get (Etk_Message_Dialog *dialog) |
| Gets the message dialog's text.
|
void | etk_message_dialog_message_type_set (Etk_Message_Dialog *dialog, Etk_Message_Dialog_Type type) |
| Sets the type of the dialog's message. It will change the title and the icon of the message dialog.
|
Etk_Message_Dialog_Type | etk_message_dialog_message_type_get (Etk_Message_Dialog *dialog) |
| Gets the type of the dialog's message.
|
void | etk_message_dialog_buttons_set (Etk_Message_Dialog *dialog, Etk_Message_Dialog_Buttons buttons) |
| Sets the message dialog's buttons. To add your own buttons, use ETK_MESSAGE_DIALOG_NONE and add them with etk_dialog_button_add().
|
Etk_Message_Dialog_Buttons | etk_message_dialog_buttons_get (Etk_Message_Dialog *dialog) |
| Gets the set of buttons used by the message dialogs.
|