Skip to content

SBCustomButton

Nikita Yudin edited this page Feb 13, 2024 · 2 revisions

SBCustomButton icon SBCustomButton

Inherits: SBButton

A themed spin button that contain button.

Description

A themed spin button that contain button. You can apply any styles you want to the inner button.

Properties

Let's look on list of all available properties:

Name Type Default Description
value_text String "" The button's text that will be displayed inside the value button's area.

Methods

After we initialize we have its initialized instance in variable with helpful methods:

Name Return Description
set_value_text(value: String) void Sets the button text that will be displayed inside the value button's area.
get_value_text() String Gets the button text.

Theme Properties

SpinButton comes with some theme properties that you apply for styling.

See Theme Module