Slider gadgets
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets

Prev:Button gadgets
Next:Scroller gadgets

The ui.gadgets.sliders vocabulary implements slider gadgets. A slider allows the user to graphically manipulate a value by moving a thumb back and forth.

<slider> ( range orientation -- slider )

Changing slider values:
slide-by ( amount slider -- )

slide-by-line ( amount slider -- )

slide-by-page ( amount slider -- )

Since sliders are controls the value can be get and set by via the model slot.