<panes-section> ( -- gadget )


Vocabulary
ui-demo

Inputs
None

Outputs
gadgetan object


Definition


: <panes-section> ( -- gadget )
<section>
"A pane is an output stream. The listener, the help browser an..."
<prose> add-gadget [
"Anything printable goes to a pane." print nl
H{ { foreground COLOR: DodgerBlue } }
[ "Styles come from io.styles." print ] with-style
H{ { font-style bold } } [ "Including bold." print ]
with-style
nl "Gadgets can be written to the stream too:" print
COLOR: MediumSeaGreen { 140 20 } <color-box> gadget.
] make-pane <scroller> <framed> add-gadget <page> ;