|
Etk_Check_Button
Detailed Description
The Etk_Check_Button widget is a toggle button made up of a checkbox and a label.
Since Etk_Check_Button inherits from Etk_Toggle_Button, you can use the etk_toggle_button_*() functions to change the state of the check-button. For example, to know if the button is checked, you should call etk_toggle_button_active_get().
You can also be notified when the state of the check button is changed with the "toggled" signal of Etk_Toggle_Button.
- Object Hierarchy:
-
Define Documentation
#define ETK_CHECK_BUTTON_TYPE (etk_check_button_type_get()) |
Gets the type of a check button
#define ETK_CHECK_BUTTON |
( |
obj |
|
) |
(ETK_OBJECT_CAST((obj), ETK_CHECK_BUTTON_TYPE, Etk_Check_Button)) |
#define ETK_IS_CHECK_BUTTON |
( |
obj |
|
) |
(ETK_OBJECT_CHECK_TYPE((obj), ETK_CHECK_BUTTON_TYPE)) |
Function Documentation
Creates a new check button.
- Returns:
- Returns the new check button widget
Etk_Widget * etk_check_button_new_with_label |
( |
const char * |
label |
) |
|
Creates a new check button with a label.
- Parameters:
-
- Returns:
- Returns the new check button widget
|
|