[BUG] inner worlds

Stephen Pair spair at advantive.com
Mon Jun 18 23:52:37 UTC 2001


Changing the display mode to #window doesn't work so good.  Apparently,
windows inside the project get confused with the window containing the
embedded world (making a window in the embedded world active inactivated the
container window...rending the inner windows un-usable).

What I've found to work pretty well is to make a "Tests" flap, and put the
embedded world on it.  The embedded world is sized to contain a single
browser on my SUnit test classes.  It's a little more convenient than
jumping in and out of the project.

- Stephen

> -----Original Message-----
> From: Bob Arning [mailto:arning at charm.net]
> Sent: Monday, June 18, 2001 2:26 PM
> To: spair at advantive.com; squeak at cs.uiuc.edu
> Subject: Re: RE: [BUG] inner worlds
>
>
> On Mon, 18 Jun 2001 14:00:26 -0400 "Stephen Pair"
> <spair at advantive.com> wrote:
> >It would be nice to allow scroll bars in the embedded world to
> scroll around
> >the desktop of the embedded world.  Also, if the embedded world
> is placed in
> >a window, it would be nice to drop the green border automatically.
>
> Stephen,
>
> Although the current style of embedded worlds has been the main
> focus, there were other styles that were tried at one time. If
> you change PasteUpMorph>>embeddedProjectDisplayMode to return a
> different value, you can experiment with the others, although
> they may be a bit buggy.
>
> Cheers,
> Bob
>
> 'From Squeak3.1alpha of 5 February 2001 [latest update: #4158] on
> 18 June 2001 at 2:20:25 pm'!
>
> !PasteUpMorph methodsFor: 'world state' stamp: 'RAA 6/18/2001 14:13'!
> embeddedProjectDisplayMode
>
> 	"#naked - the embedded project/world is just a pasteup in
> the outer p/w
> 	#window - the embedded p/w is in a system window in the outer p/w
> 	#frame - the embedded p/w is in a green frame and clipped
> 	#scaled - the embedded p/w is in a green frame and scaled to fit"
>
> 	^#window
> ! !
>





More information about the Squeak-dev mailing list