openFullscreen a WindowModel

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

openFullscreen a WindowModel

Picci Pharo
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
Reply | Threaded
Open this post in threaded view
|

Re: openFullscreen a WindowModel

Benjamin Van Ryseghem (Pharo)
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:

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

Reply | Threaded
Open this post in threaded view
|

Re: openFullscreen a WindowModel

Picci Pharo
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:

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

Reply | Threaded
Open this post in threaded view
|

Re: openFullscreen a WindowModel

Benjamin Van Ryseghem (Pharo)
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:

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:

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

Reply | Threaded
Open this post in threaded view
|

Re: openFullscreen a WindowModel

Picci Pharo
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:

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:

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

Reply | Threaded
Open this post in threaded view
|

Re: openFullscreen a WindowModel

Benjamin Van Ryseghem (Pharo)
or openFullscreen,

The one known by SystemWindow

Ben

On 05 Dec 2013, at 11:11, Picci Pharo <[hidden email]> wrote:

openFullscreen

Reply | Threaded
Open this post in threaded view
|

Re: openFullscreen a WindowModel

Picci Pharo
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

On 05 Dec 2013, at 11:11, Picci Pharo <[hidden email]> wrote:

openFullscreen

Reply | Threaded
Open this post in threaded view
|

Re: openFullscreen a WindowModel

Benjamin Van Ryseghem (Pharo)
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:

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

On 05 Dec 2013, at 11:11, Picci Pharo <[hidden email]> wrote:

openFullscreen

Reply | Threaded
Open this post in threaded view
|

Re: openFullscreen a WindowModel

Picci Pharo
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:

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

On 05 Dec 2013, at 11:11, Picci Pharo <[hidden email]> wrote:

openFullscreen

Reply | Threaded
Open this post in threaded view
|

Re: openFullscreen a WindowModel

Benjamin Van Ryseghem (Pharo)
Sorry for not knowing the StandardWindow API by heart (yet) :P

Ben

On 05 Dec 2013, at 11:28, 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:

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

On 05 Dec 2013, at 11:11, Picci Pharo <[hidden email]> wrote:

openFullscreen

Reply | Threaded
Open this post in threaded view
|

Re: openFullscreen a WindowModel

Sven Van Caekenberghe-2
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 :-)

The Finder is your friend:


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.

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:

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

On 05 Dec 2013, at 11:11, Picci Pharo <[hidden email]> wrote:

openFullscreen

Reply | Threaded
Open this post in threaded view
|

Re: openFullscreen a WindowModel

Picci Pharo
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 :-)

The Finder is your friend:


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.

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:

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

On 05 Dec 2013, at 11:11, Picci Pharo <[hidden email]> wrote:

openFullscreen