Handbook
Glossary
line-leading ( gadget -- n )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
Gadget line support
Prev:
line-height ( gadget -- n )
Next:
validate-line ( m gadget -- n )
Vocabulary
ui
.
gadgets
.
line-support
Inputs
gadget
an
object
Outputs
n
an
object
Definition
IN:
ui.gadgets.line-support
GENERIC:
line-leading
( gadget -- n )
Methods
USING:
accessors
kernel
ui.gadgets.line-support
;
M:
line-gadget
line-leading
[
line-leading>>
]
[
[
line-leading*
]
[
]
[
layout-state>>
]
tri
[
drop
]
[
dupd
line-leading<<
]
if
]
?unless
;