Checkbox
Category | refcounted |
Type | hime_checkbox_t |
Inherits | LabelButton |
A native themed class representing a checkbox.
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
Return
bool
Events
void hime_checkbox_on_change(checkbox)
Emitted when the checked state is changed.
Parameters
hime_checkbox_t
checkbox
Preventable
No.