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
quota quotation


Outputs
gadgeta 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