Data Structures | |
struct | _Ewl_Dialog |
Extends the Ewl_Window class. More... | |
struct | _Ewl_Dialog |
Extends the Ewl_Window class. More... | |
Defines | |
#define | EWL_DIALOG(dialog) ((Ewl_Dialog *) dialog) |
Typecasts a pointer to an Ewl_Dialog pointer. | |
Typedefs | |
typedef _Ewl_Dialog | Ewl_Dialog |
The dialog structure is a window with two area: a box (vbox) to hold messages and another box (action_area) to put buttons (usually). | |
Functions | |
Ewl_Widget * | ewl_dialog_new (Ewl_Position pos) |
Create a new internal dialog. | |
int | ewl_dialog_init (Ewl_Dialog *dialog, Ewl_Position pos) |
Initialize an internal dialog to starting values. | |
void | ewl_dialog_widget_add (Ewl_Dialog *dialog, Ewl_Widget *w) |
Convenient function to add widgets in the vbox. | |
Ewl_Widget * | ewl_dialog_button_add (Ewl_Dialog *dialog, char *button_text, int response_id) |
Add a (stock) button on the right of the action_area of dialog. | |
Ewl_Widget * | ewl_dialog_button_left_add (Ewl_Dialog *dialog, char *button_text, int response_id) |
Same as ewl_dialog_add_button(), but add the button on the left. | |
unsigned int | ewl_dialog_has_separator_get (Ewl_Dialog *dialog) |
Checks if dialog has a separator or not. | |
void | ewl_dialog_has_separator_set (Ewl_Dialog *dialog, unsigned int has_sep) |
Sets the separator of dialog. |
|
The dialog structure is a window with two area: a box (vbox) to hold messages and another box (action_area) to put buttons (usually). These boxes can be separated by a line. |
|
Add a (stock) button on the right of the action_area of dialog.
|
|
Same as ewl_dialog_add_button(), but add the button on the left.
|
|
Checks if dialog has a separator or not.
|
|
Sets the separator of dialog.
|
|
Initialize an internal dialog to starting values.
|
|
Create a new internal dialog.
|
|
Convenient function to add widgets in the vbox.
|