1 USING: dlists ui.gadgets kernel ui namespaces io.streams.string
5 ! We can't print to output-stream here because that might be a pane
6 ! stream, and our graft-queue rebinding here would be captured
7 ! by code adding children to the pane...
8 : with-grafted-gadget ( gadget quot -- )
10 <dlist> \ graft-queue [
16 ] with-string-writer print ;