How can I open a SystemWindow with a certain extent?

Gary Chambers gazzaguru2 at btinternet.com
Mon Nov 19 16:51:01 UTC 2007


Except that, for the UIEnhancements, things now actually respect the
minimumExtent...

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org]On Behalf Of Rob
> Withers
> Sent: 19 November 2007 4:45 PM
> To: The general-purpose Squeak developers list
> Subject: Re: How can I open a SystemWindow with a certain extent?
>
>
> Thanks, Jon.  Works like a champ.
>
> It uses similar methods to those Gary posted, but this is more high-level.
>
> Cheers,
> Rob
>
> ----- Original Message -----
> From: "Jon Hylands" <jon at huv.com>
> To: "The general-purpose Squeak developers list"
> <squeak-dev at lists.squeakfoundation.org>
> Sent: Monday, November 19, 2007 8:11 AM
> Subject: Re: How can I open a SystemWindow with a certain extent?
>
>
> 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