Spinbox - Garland-g/perl6-libui GitHub Wiki

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.