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
World submorphs select: [ :sm | sm isSystemWindow and: [ sm label = PharoWelcomePage title ] ] thenDo: [ :window | window delete ]. Best regards, Henrik From: Pharo-users [mailto:pharo-users-bounces@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
Very delayed thanks :) Somehow I missed your response. Thanks! Peter On Wed, May 18, 2016 at 12:32 AM, Henrik Nergaard <henrik.nergaard@uia.no> wrote:
World submorphs
select: [ :sm |
sm isSystemWindow and: [ sm label = PharoWelcomePage title ]
]
thenDo: [ :window | window delete ].
Best regards,
Henrik
*From:* Pharo-users [mailto:pharo-users-bounces@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
participants (2)
-
Henrik Nergaard -
Peter Uhnák