scroll-position ( scroller -- loc )
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets » Scroller gadgets

Prev:<scroller> ( gadget -- scroller )
Next:set-scroll-position ( value scroller -- )


Vocabulary
ui.gadgets.viewports

Inputs
scrollera scroller


Outputs
loca pair of integers


Word description
Outputs the offset of the top-left corner of the scroller's viewport's child.

See also
set-scroll-position, scroll>bottom, scroll>top, scroll>rect

Definition