Handbook
Glossary
<border> ( child gap -- border )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Border gadgets
Prev:
border
Vocabulary
ui
.
gadgets
.
borders
Inputs
child
a
gadget
gap
a pair of integers
Outputs
border
a new
border
Word description
Creates a new border around the child with the specified horizontal and vertical gap.
Definition
USING:
accessors
kernel
;
IN:
ui.gadgets.borders
:
<border>
( child gap -- border )
[
border
new-border
]
dip
>>size
;