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_t
Methods
void hime_label_button_set_title(self, title)
Set the text shown on the button.
Parameters
hime_label_button_t
selfconst char16_t*
title
Return
void
const char16_t* hime_label_button_get_title(self)
Get the text shown on the button.
Parameters
hime_label_button_t
self
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_t
selfbool
is_default
Return
void
bool hime_label_button_is_default(self)
Return whether this button is the default button.
Parameters
hime_label_button_t
self
Return
bool