How can I open a SystemWindow with a certain extent?

Enno Schwass onkelenno at mac.com
Mon Nov 19 16:12:26 UTC 2007


Hi

> I have a subclass of SystemWindow which I am trying to open with a  
> specific extent.  I have a buildWindow method that adds all my  
> widgetry and I have a line of code like:
>    self extent: 20 @ 50.
> When it opens, this extent isn't respected.   How can I do this?
>

You have to do it outside, because openInWorld works different

Try

SystemWindow new openInWorld; extent: 400 at 400.

instead.

hth
Enno



More information about the Squeak-dev mailing list