Handbook
Glossary
scroll>bottom ( gadget -- )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Scroller gadgets
Prev:
set-scroll-position ( value scroller -- )
Next:
scroll>top ( gadget -- )
Vocabulary
ui
.
gadgets
.
scrollers
Inputs
gadget
a
gadget
Outputs
None
Word description
Ensures that any
scroller
containing
gadget
is scrolled all the way down. Does nothing if no parent of
gadget
is a
scroller
.
See also
scroll-position
,
set-scroll-position
,
scroll>top
,
scroll>rect
Definition
USING:
accessors
kernel
ui.gadgets
;
IN:
ui.gadgets.scrollers
:
scroll>bottom
( gadget -- )
find-scroller
[
t
>>follows
relayout-1
]
when*
;