ui.gadgets.viewports vocabulary
Factor handbook > Vocabulary index


Summary
Viewport gadgets display a portion of a child gadget and are used to implement scrollers

Meta-data
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
viewport gadgetconstraint


Ordinary words
WordStack effect
<viewport>( content model -- viewport )
find-viewport( gadget -- viewport )
scroll-position( scroller -- loc )
visible-dim( gadget -- dim )


Class predicate words
WordStack effect
viewport?( object -- ? )


Files