Skip to content

Spinbox

Travis Gibson edited this page Sep 19, 2018 · 2 revisions

Spinbox

Libui::Spinbox

A slider to select a number inside a given range.

Methods

new(Int $min, Int $max)

Create a new Spinbox.

value() returns Int

Returns the value of the Spinbox.

set-value(Int $value) or value(Int $value)

Sets the value of the Spinbox.

changed() returns Supply

Returns a Supply. An event is emitted whenever the value is changed.