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_t
Methods
void hime_combobox_set_model(self, model)
Set the combobox model used for displaying.
Parameters
hime_combobox_t
selfhime_combobox_model_t
model
Return
void
hime_combobox_model_t hime_combobox_get_model(self)
Return the combobox's model.
Parameters
Return
hime_combobox_model_t
void hime_combobox_set_text(self, text)
Set the text
currently displayed in the Combobox.
Parameters
hime_combobox_t
selfconst char16_t*
text
Return
void
const 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_t
selfconst char16_t*
placeholder
Return
void
Events
void hime_combobox_on_change(picker)
Emitted when the content has changed.
Parameters
hime_combobox_t
picker
Preventable
No.