[Q] How to get the current ScreenControler
ducasse
ducasse at iam.unibe.ch
Wed Mar 20 07:51:03 UTC 2002
Thanks ned
I'm so used that class comments are empty that I never look at them.
By the way have you release a new version of your connector (you told me
long time ago that you would put the code on your private home page) but I
could not find it.
I would like that students here use it for various projects
Stef
on 3/19/02 10:40 PM, Ned Konz at ned at bike-nomad.com wrote:
> On Tuesday 19 March 2002 01:14 pm, ducasse wrote:
>> Hi
>>
>> I want to open programmatically a morphic project.
>> I found ScreenController>>openMorphicProject
>>
>> But I cannot figure out how to access the current ScreenController.
>> Any magic?
>
> You want to open a Morphic project from a MVC project? From the class comment
> in ScreenController:
>
> (ScheduledControllers screenController) is the way to find me.
>
> So you can go:
>
> ScheduledControllers screenController openMorphicProject
>
> However, if you aren't in an MVC project, you might want to use:
>
> Project newMorphicOn: nil
>
> instead.
More information about the Squeak-dev
mailing list
|