Disabling welcome window

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

Disabling welcome window

Peter Uhnak
Is there a clean way how to close or not open the Pharo 5.0 welcome window?

Short of going through the stack and closing it (courtesy of Cyril)

 (SystemWindow allInstances select:  [ :w | w labelString includesSubstring: 'Welcome' ]) do: #delete

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: Disabling welcome window

Henrik Nergaard

World submorphs

               select: [ :sm |

                              sm isSystemWindow and: [ sm label = PharoWelcomePage title ]

               ]

               thenDo: [ :window | window delete ].

 

Best regards,

Henrik

 

From: Pharo-users [mailto:[hidden email]] On Behalf Of Peter Uhnák
Sent: Wednesday, May 18, 2016 12:20 AM
To: Pharo-Users List <[hidden email]>
Subject: [Pharo-users] Disabling welcome window

 

Is there a clean way how to close or not open the Pharo 5.0 welcome window?

 

Short of going through the stack and closing it (courtesy of Cyril)

 

 (SystemWindow allInstances select:  [ :w | w labelString includesSubstring: 'Welcome' ]) do: #delete

 

Thanks,

Peter

Reply | Threaded
Open this post in threaded view
|

Re: Disabling welcome window

Peter Uhnak
Very delayed thanks :) 
Somehow I missed your response.

Thanks!

Peter

On Wed, May 18, 2016 at 12:32 AM, Henrik Nergaard <[hidden email]> wrote:

World submorphs

               select: [ :sm |

                              sm isSystemWindow and: [ sm label = PharoWelcomePage title ]

               ]

               thenDo: [ :window | window delete ].

 

Best regards,

Henrik

 

From: Pharo-users [mailto:[hidden email]] On Behalf Of Peter Uhnák
Sent: Wednesday, May 18, 2016 12:20 AM
To: Pharo-Users List <[hidden email]>
Subject: [Pharo-users] Disabling welcome window

 

Is there a clean way how to close or not open the Pharo 5.0 welcome window?

 

Short of going through the stack and closing it (courtesy of Cyril)

 

 (SystemWindow allInstances select:  [ :w | w labelString includesSubstring: 'Welcome' ]) do: #delete

 

Thanks,

Peter