Slider

A bar representing a continuous range of numerical values.

Since Slider does not have any text displayed, an accessible name must be assigned via SetAccessibleName method of View.

Categoryrefcounted
Typehime_slider_t
Inheritshime_view_t

Constructors

hime_slider_t hime_slider_create()

Create a new Slider.

Return

hime_slider_t

Methods

void hime_slider_set_value(self, value)

Set slider's value in interval [0, 1].

Parameters

Return

void

float hime_slider_get_value(self)

Return slider's value in interval [0, 1].

Parameters

Return

float

Events

void hime_slider_on_change(slider, new_value, old_value)

Emitted when slider's value is changed by user.

Parameters

Preventable

No.