Data Structures | |
struct | Ewl_Button |
A simple Ewl_Widget to provide for a clickable button in the UI. Provides easy facilities for adding a Ewl_Text label to the button, but allows for placing any number of Ewl_Widget's in the Ewl_Button. More... | |
struct | Ewl_Button |
A simple Ewl_Widget to provide for a clickable button in the UI. Provides easy facilities for adding a Ewl_Text label to the button, but allows for placing any number of Ewl_Widget's in the Ewl_Button. More... | |
Defines | |
#define | EWL_BUTTON(button) ((Ewl_Button *) button) |
Typecast a pointer to an Ewl_Button pointer. | |
Typedefs | |
typedef Ewl_Button | Ewl_Button |
The button provides a simple wrapper for creating a clickable Ewl_Widget with an Ewl_Text displayed inside. | |
Functions | |
Ewl_Widget * | ewl_button_new (char *l) |
Allocate and initialize a new button. | |
int | ewl_button_init (Ewl_Button *b, char *label) |
Initialize a button to starting values. | |
void | ewl_button_label_set (Ewl_Button *b, char *l) |
Change the label of the specified button. | |
char * | ewl_button_label_get (Ewl_Button *b) |
Retrieve the label of the specified button. |
|
Initialize a button to starting values.
|
|
Retrieve the label of the specified button.
|
|
Change the label of the specified button.
|
|
Allocate and initialize a new button.
|