Combobox
| Category | refcounted |
| Type | hime_combobox_t |
| Inherits | View |
Choose a single item from a list of items or type a custom value.
Constructors
hime_combobox_t hime_combobox_create()
Create a new Combobox.
Return
hime_combobox_tMethods
void hime_combobox_set_model(self, model)
Set the combobox model used for displaying.
Parameters
hime_combobox_tselfhime_combobox_model_tmodel
Return
voidhime_combobox_model_t hime_combobox_get_model(self)
Return the combobox's model.
Parameters
Return
hime_combobox_model_tvoid hime_combobox_set_text(self, text)
Set the text currently displayed in the Combobox.
Parameters
hime_combobox_tselfconst char16_t*text
Return
voidconst char16_t* hime_combobox_get_text(self)
Get the text for the Combobox.
Parameters
Return
const char16_t*void hime_combobox_set_placeholder_text(self, placeholder)
Set the placeholder text to display when empty.
Parameters
hime_combobox_tselfconst char16_t*placeholder
Return
voidEvents
void hime_combobox_on_change(picker)
Emitted when the content has changed.
Parameters
hime_combobox_tpicker
Preventable
No.