ui.gadgets.line-support vocabulary
Factor handbook ยป Vocabulary index


Documentation
Gadget line support

Metadata
Parents:ui.gadgets
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
line-gadget gadgetfont selection-color min-rows max-rows min-cols max-cols line-leading line-height pref-viewport-dim


Generic words
WordStack effect
draw-line( line index gadget -- )
line-height( gadget -- n )
line-height*( gadget -- n )
line-leading( gadget -- n )
line-leading*( gadget -- n )


Ordinary words
WordStack effect
draw-lines( gadget -- )
each-slice-index( from to seq quot -- )
first-visible-line( gadget -- n )
last-visible-line( gadget -- n )
line-gadget-dim( pref-dim gadget -- dim )
line-gadget-height( pref-dim gadget -- h )
line-gadget-width( pref-dim gadget -- w )
line>y( n gadget -- y )
new-line-gadget( class -- gadget )
pref-viewport-dim*( gadget -- dim )
valid-line?( n gadget -- ? )
validate-line( m gadget -- n )
visible-line( gadget quot -- n )
visible-lines( gadget -- n )
y>line( y gadget -- n )


Class predicate words
WordStack effect
line-gadget?( object -- ? )


Files


Metadata files