Handbook
Glossary
clear-incremental ( incremental -- )
Factor handbook
»
UI framework
»
Building user interfaces
»
Gadget hierarchy and layouts
»
Incremental layouts
Prev:
add-incremental ( gadget incremental -- )
Vocabulary
ui.gadgets.incremental
Inputs
incremental
an
incremental
Outputs
None
Word description
Removes all gadgets from the incremental layout and performs relayout immediately in constant time.
Side effects
Modifies
incremental
See also
<incremental>
,
add-incremental
Definition
USING:
accessors
kernel
ui.gadgets
ui.gadgets.private
;
IN:
ui.gadgets.incremental
:
clear-incremental
( incremental -- )
not-in-layout
[
(clear-gadget)
]
[
forget-pref-dim
]
[
{
0 0
}
>>cursor
parent>>
[
relayout
]
when*
]
tri
;