Checkbox
A native themed class representing a checkbox.
Category | refcounted |
Type | hime_checkbox_t |
Inherits | hime_label_button_t |
Constructors
hime_checkbox_t hime_checkbox_create()
Create a Checkbox.
Return
hime_checkbox_t
Methods
void hime_checkbox_set_checked(self, checked)
Set whether the checkbox is checked
.
Parameters
hime_checkbox_t
selfbool
checked
Return
void
bool hime_checkbox_is_checked(self)
Return whether the checkbox is checked.
Parameters
hime_checkbox_t
self
Return
bool
Events
void hime_checkbox_on_change(checkbox)
Emitted when the checked state is changed.
Parameters
hime_checkbox_t
checkbox
Preventable
No.