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.

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

Return

void

const char16_t* hime_label_button_get_title(self)

Get the text shown on the button.

Parameters

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

Return

void

bool hime_label_button_is_default(self)

Return whether this button is the default button.

Parameters

Return

bool