How can I open a SystemWindow with a certain extent?
Jon Hylands
jon at huv.com
Mon Nov 19 16:11:48 UTC 2007
On Mon, 19 Nov 2007 07:58:22 -0800, "Rob Withers" <reefedjib at yahoo.com>
wrote:
> 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 open it using this method:
#openInWorldExtent:
Note that the extent that is passed in does not include the system window
frame, which is the title bar and sizing handles.
Later,
Jon
--------------------------------------------------------------
Jon Hylands Jon at huv.com http://www.huv.com/jon
Project: Micro Raptor (Small Biped Velociraptor Robot)
http://www.huv.com/blog
More information about the Squeak-dev
mailing list
|