I always wanted to do this in Morphic, but it made too many assumptions about the World's environment e.g. use of globals like ActiveHand and World. I gave it a shot (see below). The new space did appear in the current world, but the rectangle seemed to open in the container world, not in the new world because when I closed the new space via the halo the rectangle remained. For me, it is very important to have a space easily create-able and drivable. This makes real testing possible, prevents another global mess, and makes other /really/ exciting possibilities within reach. Can it be done in Bloc? If not, what would it take?
s := BlBlocSpace new. root := s rootElement. root extent: 500 @ 500. root openInWorld; yourself. rect := BlElement exampleRectangle. rect openInWorld: root world. s redraw. root updateDrawing. ----- Cheers, Sean -- View this message in context: http://forum.world.st/Bloc-Space-within-a-Space-tp4877474.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.