[REBOL] Re: [view] Adding objects to a face....
From: SunandaDH::aol::com at: 26-Sep-2004 5:16
Izzy:
> Is there a way to use A to add {text "Bye!"} to it, as
> if I had instead typed:
In a word, make-face.
LO: layout/size [button "hi"] 500x500
unview/all
view/new LO
append LO/pane make-face 'button
LO/pane/2/text: "bye"
show LO/pane/2
show LO
Of course, it needs some work on positioning the new element right, among
other things. And you may need to reorder the Z-index (rendering is in order of
entries in LO/pane, so moving those around affects what items overlay others).
Sunanda