Hi Guys!
One simple question: how can i open fullscreen a WindowModel? As you know, the StandardWindow has got the message "openFullscreen", but it obviously doesn't work for the WindowModel. Any suggestion? Ciao! Paolo |
Add: WindowModel>>#openFullscreen self changed: #openFullscreen with: #() MorphicWindowAdapter>>#openFullscreen self widgetDo: [ :w | w openFullscreen ] And tada Ben On 04 Dec 2013, at 11:13, Picci Pharo <[hidden email]> wrote:
|
The Class MorphicWindowAdapter doesn't exist in Pharo 2.0
From: [hidden email] Date: Wed, 4 Dec 2013 11:26:54 +0100 To: [hidden email] Subject: Re: [Pharo-users] openFullscreen a WindowModel Add: WindowModel>>#openFullscreen self changed: #openFullscreen with: #() MorphicWindowAdapter>>#openFullscreen self widgetDo: [ :w | w openFullscreen ] And tada Ben On 04 Dec 2013, at 11:13, Picci Pharo <[hidden email]> wrote:
|
then (note it’s a hack)
WindowModel>>#openFullscreen self widget ifNotNil: [ :w | w openFullScreen ]
Ben On 05 Dec 2013, at 10:59, Picci Pharo <[hidden email]> wrote:
|
It's non very clear for me.
"self widget ifNotNil: [ :w | w openFullScreen ]" but openFullscreen hasn't been implemented yet. It is completely red. Paolo From: [hidden email] Date: Thu, 5 Dec 2013 11:04:29 +0100 To: [hidden email] Subject: Re: [Pharo-users] openFullscreen a WindowModel then (note it’s a hack) WindowModel>>#openFullscreen self widget ifNotNil: [ :w | w openFullScreen ] Ben On 05 Dec 2013, at 10:59, Picci Pharo <[hidden email]> wrote:
|
or openFullscreen,
The one known by SystemWindow
Ben |
Are you telling me that i can copy the openFullscreen of StandardWindow and put it into the class WindowModel?
Paolo From: [hidden email] Date: Thu, 5 Dec 2013 11:13:35 +0100 To: [hidden email] Subject: Re: [Pharo-users] openFullscreen a WindowModel or openFullscreen, The one known by SystemWindow Ben |
No
I am saying that self widget ifNotNil: [ :w | w openFullScreen ] w in here is a StandardWindow.
Ben On 05 Dec 2013, at 11:18, Picci Pharo <[hidden email]> wrote:
|
It Works!!!! But the capital S is your mistake :-)
Thanks Ben, hope to speak soon with you and Steph here in Brescia for the next ESUG. Paolo From: [hidden email] Date: Thu, 5 Dec 2013 11:21:40 +0100 To: [hidden email] Subject: Re: [Pharo-users] openFullscreen a WindowModel No I am saying that self widget ifNotNil: [ :w | w openFullScreen ] w in here is a StandardWindow. Ben On 05 Dec 2013, at 11:18, Picci Pharo <[hidden email]> wrote:
|
Sorry for not knowing the StandardWindow API by heart (yet) :P
Ben On 05 Dec 2013, at 11:28, Picci Pharo <[hidden email]> wrote:
|
In reply to this post by Picci Pharo
On 05 Dec 2013, at 11:28, Picci Pharo <[hidden email]> wrote: It Works!!!! But the capital S is your mistake :-) Pharo offers an amazing array of tools to find out about the system, part of the path to enlightenment is learning how to use them ;-) Sven Thanks Ben, hope to speak soon with you and Steph here in Brescia for the next ESUG. |
Here he comes, Captain Obvious! ;-)
Just Kidding Sven, thank you for you support! Paolo From: [hidden email] Date: Thu, 5 Dec 2013 11:36:38 +0100 To: [hidden email] Subject: Re: [Pharo-users] openFullscreen a WindowModel On 05 Dec 2013, at 11:28, Picci Pharo <[hidden email]> wrote: It Works!!!! But the capital S is your mistake :-) Pharo offers an amazing array of tools to find out about the system, part of the path to enlightenment is learning how to use them ;-) Sven Thanks Ben, hope to speak soon with you and Steph here in Brescia for the next ESUG. |
Free forum by Nabble | Edit this page |