j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Karl Ramberg wrote:
Hi, I'm testing the following code in a method:
test _ self world submorphs first. test = SystemWindow ifTrue:[test passivate]
but it never triggers. When I inspect test it say's it's a SystemWindow('Transcript') etc. What else is test than a SystemWindow ?
Probably test is an instance of the class SystemWindow, i.e., not equal. There's a protocol called 'class membership' on the instance side of Object that probably has what you mean, something like #isKindOf: or #isMemberOf:.
HTH, Steve
squeak-dev@lists.squeakfoundation.org