|
Functions |
Etk_Widget * | etk_button_new (void) |
| Creates a new button.
|
Etk_Widget * | etk_button_new_with_label (const char *label) |
| Creates a new button with a label.
|
Etk_Widget * | etk_button_new_from_stock (Etk_Stock_Id stock_id) |
| Creates a new button with a label and an icon defined by a stock-id.
|
void | etk_button_press (Etk_Button *button) |
| Presses the button if it wasn't already pressed.
|
void | etk_button_release (Etk_Button *button) |
| Releases the button if it was pressed.
|
void | etk_button_click (Etk_Button *button) |
| Clicks on the button.
|
void | etk_button_label_set (Etk_Button *button, const char *label) |
| Sets the text of the button's label.
|
const char * | etk_button_label_get (Etk_Button *button) |
| Gets the text of the button's label.
|
void | etk_button_image_set (Etk_Button *button, Etk_Image *image) |
| Sets the image of the button.
|
Etk_Image * | etk_button_image_get (Etk_Button *button) |
| Gets the image of the button.
|
void | etk_button_set_from_stock (Etk_Button *button, Etk_Stock_Id stock_id) |
| Sets the label and the image of the button from a stock-id.
|
void | etk_button_style_set (Etk_Button *button, Etk_Button_Style style) |
| Sets the style of the button (icon, text, both vertically, both horizontally).
|
Etk_Button_Style | etk_button_style_get (Etk_Button *button) |
| Gets the style of the button.
|
void | etk_button_stock_size_set (Etk_Button *button, Etk_Stock_Size size) |
| Sets the stock-size of the button's image.
|
Etk_Stock_Size | etk_button_stock_size_get (Etk_Button *button) |
| Gets the stock-size of the button's image.
|
void | etk_button_alignment_set (Etk_Button *button, float xalign, float yalign) |
| Sets the alignment of the child of the button.
|
void | etk_button_alignment_get (Etk_Button *button, float *xalign, float *yalign) |
| Gets the alignment of the button's child.
|