Login  Register

Re: Multiple Worlds for Pharo *stable*

Posted by tfleig on Jan 24, 2011; 4:51pm
URL: https://forum.world.st/Multiple-Worlds-for-Pharo-stable-tp3233552p3234395.html

Wow. This is very cool.

I have created some hotkeys (ctrl-1, ctrl-2, etc.) (using http://www.squeaksource.com/GlobalKeys.html) to switch between worlds. I usually have several unrelated projects going and this makes it very easy to manage them.

Two things:

1. 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 ]]]

2. In looking into the TaskbarMorph, I stumbled across the Project class. It seems like there might be some overlap with multiple worlds there. Any comment?


Regards,
TF



On Mon, Jan 24, 2011 at 3:09 AM, Sean P. DeNigris <[hidden email]> wrote:


Aidan Gauland-2 wrote:
>
> I recently saw the article Multiple Worlds for Pharo...  I'm using Pharo
> 1.1.1 Latest update: #11414.  Can anyone help me out here?

I made a changeset that you can file into 1.1.1.  It is attached to the
issue @ http://code.google.com/p/pharo/issues/detail?id=3545

HTH,
Sean
--
View this message in context: http://forum.world.st/Multiple-Worlds-for-Pharo-stable-tp3233552p3233759.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.