--- Begin Message ---Hello again Sean, looking at your code…now I think that Alex answer was the right one :) in fact one should be able to open a world in a world. one should be able to script a space, thus, one should be able to write a test with a local BlocSpace, adding elements into it and so on but your code does not make sense regarding how Bloc is designed you can have one and only one **active** BlocSpace at a time.imagine that a BlocSpace is a Pharo image. Making your code working would mean that we would be able to run a Pharo image within a Pharo image. > > s := BlBlocSpace new. ok > root := s rootElement. ok > root extent: 500 @ 500. ok > root > openInWorld; > yourself. this does not make sense for me > rect := BlElement exampleRectangle. > rect openInWorld: root world. this can make sense > s redraw. > root updateDrawing. this canot work also because only the current space can draw. ok, at least it means that we have to write good documentation about the bloc design. Cheers Alain > > > > ----- > 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. >
--- End Message ---
Re: [Pharo-users] Bloc Space within a Space
Alain Plantec via Pharo-users Mon, 15 Feb 2016 12:35:29 -0800
- [Pharo-users] Bloc Space within a Space Sean P. DeNigris
- Re: [Pharo-users] Bloc Space within a S... Aliaksei Syrel
- Re: [Pharo-users] Bloc Space within... Sean P. DeNigris
- Re: [Pharo-users] Bloc Space wi... stepharo
- Re: [Pharo-users] Bloc Spac... Sven Van Caekenberghe
- Re: [Pharo-users] Bloc... John Pfersich
- Re: [Pharo-users] Bloc Space wi... Alain Plantec via Pharo-users
- Re: [Pharo-users] Bloc Spac... Sean P. DeNigris
- Re: [Pharo-users] Bloc Space within... stepharo
- Re: [Pharo-users] Bloc Space within a S... Alain Plantec via Pharo-users
- Re: [Pharo-users] Bloc Space within... Sean P. DeNigris
- Re: [Pharo-users] Bloc Space wi... Alain Plantec via Pharo-users
- Re: [Pharo-users] Bloc Spac... Sean P. DeNigris