Handbook
Glossary
make-pane ( quot -- gadget )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Pane gadgets
Prev:
with-pane ( pane quot -- )
Vocabulary
ui
.
gadgets
.
panes
Inputs
quot
a
quotation
Outputs
gadget
a new
gadget
Word description
Calls the quotation in a new scope where
output-stream
is rebound to a
pane-stream
writing to a new pane. The output area of the new pane is output on the stack after the quotation returns. The pane itself is not output.
See also
with-pane
Definition
USING:
kernel
ui.gadgets.panes.private
;
IN:
ui.gadgets.panes
:
make-pane
( quot -- gadget )
[
<pane>
]
dip
[
with-pane
]
curry
keep
smash-pane
;
inline