[Seaside] Programmatically Close Debug Window

Robert Sirois watchlala at hotmail.com
Wed Nov 2 03:54:38 UTC 2011


Thanks!
SystemWindow allInstances select: [:ea | ea model isMemberOf: Debugger ] thenDo: [:ea | ea delete ].
RS

Date: Wed, 2 Nov 2011 00:03:12 -0300
Subject: Re: [Seaside] Programmatically Close Debug Window
From: guillermopolito at gmail.com
To: seaside at lists.squeakfoundation.org

Hi!!

Evaluating

SystemWindow allInstances do:[ :window | window delete ]

should delete all windows...
You can filter them with #select: 

SystemWindow allInstances select: [ :window | window ... ] thenDo:[ :window | window delete ]


What I do not exactly now is how to recongnize a debugger... Maybe their model is a Debugger instance and you can perform a #isKindOf:

Cheers!
Guille

On Tue, Nov 1, 2011 at 11:58 PM, Robert Sirois <watchlala at hotmail.com> wrote:






How do I programmatically close debug windows in Pharo? My image is littered with them hehe.
RS 		 	   		  

_______________________________________________

seaside mailing list

seaside at lists.squeakfoundation.org

http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside





_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20111101/e97d7e40/attachment.htm


More information about the seaside mailing list