World submorphs
               select: [ :sm |
                              sm isSystemWindow and: [ sm label = 
PharoWelcomePage title ]
               ]
               thenDo: [ :window | window delete ].

Best regards,
Henrik

From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of 
Peter Uhnák
Sent: Wednesday, May 18, 2016 12:20 AM
To: Pharo-Users List <pharo-users@lists.pharo.org>
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 via email to