I set up different backgrounds in my different worlds so I could tell which one I was in. �;)
On Mon, Jan 24, 2011 at 08:51:55AM -0800, Tony Fleig wrote:Thanks! �That worked perfectly for me.
> I noticed the taskbar was missing in the new worlds, so I evaluate the
> following when I create a new world:
>
> � � World taskbars ifEmpty: [
> � � � � TaskbarMorph new openInWorld: World.
> � � � � (World systemWindows select: [ :each |
> � � �each isCollapsed]) do: [ :wnd | wnd restore; minimize ]]]
If anyone wants to have the same background in their other worlds as
the first one, this should do it...
wm := WorldManager instance.
bgm := (wm worldNamed: 'Pharo') backgroundMorph.
(wm worldNamed: 'AnotherWorld') backgroundMorph: bgm.
Regards,
Aidan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk0+Oy8ACgkQjyzTRvYJmaWbnACfWD9WKfQ/7nm2aJAVDYbX/LXl
mkEAnjsDv0S+0upvBpXkeFaBZs9l3Dve
=GgPD
-----END PGP SIGNATURE-----