LabelButton
A button with text and icon.
The LabelButton does not have any visual style applied and is mostly served
as the abstract base class of other buttons. For general buttons you should
usually use the MaterialButton instead.
| Category | refcounted |
| Type | hime_label_button_t |
| Inherits | hime_button_t |
Constructors
hime_label_button_t hime_label_button_create()
Create a LabelButton.
Return
hime_label_button_tMethods
void hime_label_button_set_title(self, title)
Set the text shown on the button.
Parameters
hime_label_button_tselfconst char16_t*title
Return
voidconst char16_t* hime_label_button_get_title(self)
Get the text shown on the button.
Parameters
hime_label_button_tself
Return
const char16_t*void hime_label_button_make_default(self, is_default)
Make this button the default button, which handles the return key.
Parameters
hime_label_button_tselfboolis_default
Return
voidbool hime_label_button_is_default(self)
Return whether this button is the default button.
Parameters
hime_label_button_tself
Return
bool