Login  Register

Re: Assert SystemWindow not visible

Posted by laurent laffont on Mar 07, 2011; 5:26pm
URL: https://forum.world.st/Assert-SystemWindow-not-visible-tp3330492p3339519.html

On Mon, Mar 7, 2011 at 11:53 AM, Gary Chambers <[hidden email]> wrote:
If you don't care whether the window had been opened at all then
sending #isInWorld to the window is another approach.

Cool one !

Laurent.
 

Regards, Gary
----- Original Message -----
Sent: Wednesday, March 02, 2011 12:37 PM
Subject: Re: [Pharo-project] Assert SystemWindow not visible

Thank you Henry, good example.

Laurent.

On Wed, Mar 2, 2011 at 10:35 AM, Henrik Sperre Johansen <[hidden email]> wrote:

Henrik Sperre Johansen wrote:
>
>
> window announcer when: WindowClosed do: [closed := false].
> window openInWorld delete.
> self assert: closed.
>
>
meant to write [closed := true], of course :)

Cheers,
Henry

--
View this message in context: http://forum.world.st/Assert-SystemWindow-not-visible-tp3330492p3331232.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.