Checkbox

A native themed class representing a checkbox.

Categoryrefcounted
Typehime_checkbox_t
Inheritshime_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

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

Preventable

No.