Main Page
Object Hierarchy
Data Structures
Related Pages
etk_message_dialog.c File Reference
Detailed Description
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_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.
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.