OS Events [was: RE: Newbie Questions?]
Pennell, David
dpennell at quallaby.com
Tue Apr 18 20:47:24 UTC 2000
You can perform the update in MVC or Morphic, but it
won't have the desired effect of restoring the display
unless you are in a Morphic project.
To make a new Morphic project:
left-mouse-down on the background, select "open...", select "morphic
project"
This creates a thumbnail of a project. Click in the body of the thumbnail
to enter the project.
To move between projects:
left-mouse-down on the background, select "previous project" or "jump to
project"
-David
> -----Original Message-----
> From: Conrad Taylor [mailto:conradwt at yahoo.com]
> Sent: Tuesday, April 18, 2000 3:22 PM
> To: squeak at cs.uiuc.edu
> Subject: RE: OS Events [was: RE: Newbie Questions?]
>
>
> How does one switch to Morphic after starting Squeak
> to perform the update described below?
>
> Thanks in advance,
>
> -Conard
>
> --- "Pennell, David" <dpennell at quallaby.com> wrote:
> > Beautiful!! Thanks!
> >
> > Conrad - if you modify PasteUpMorph<<doOneCycle as
> > indicated below,
> > then you don't have to use the restore display
> > option when you
> > resize the window.
> >
> > -david
> >
> > > -----Original Message-----
> > > From: Raab, Andreas
> > [mailto:Andreas.Raab at disney.com]
> > > Sent: Tuesday, April 18, 2000 1:04 PM
> > > To: squeak at cs.uiuc.edu
> > > Subject: RE: OS Events [was: RE: Newbie
> > Questions?]
> > >
> > >
> > > David,
> > >
> > > If all you really want is resize notification -
> > how about the
> > > following?!
> > >
> > > PasteUpMorph>>doOneCycle
> > > self interCyclePause: MinCycleLapse.
> > > DisplayScreen actualScreenSize = Display extent
> > > ifFalse:[self restoreDisplay].
> > > self doOneCycleNow.
> > >
> > >
> > > - Andreas
> > >
> > > > -----Original Message-----
> > > > From: Pennell, David
> > [mailto:dpennell at quallaby.com]
> > > > Sent: Tuesday, April 18, 2000 9:01 AM
> > > > To: 'squeak at cs.uiuc.edu'
> > > > Cc: recipient list not shown
> > > > Subject: RE: OS Events [was: RE: Newbie
> > Questions?]
> > > >
> > > >
> > > >
> > > > > On Tue 18 Apr, Pennell, David wrote:
> > > > >
> > > > > > Whatever happened to your OS Events project?
> > Is this
> > > > > something that can
> > > > > > piggyback on your pluggable VM?
> > > > > It got pretty much ignored in the flow of
> > other stuff. The
> > > > code needed
> > > > > in the VM is pretty small and the image code
> > is as complex as you
> > > > > need/want depending on how thoroughly you want
> > os events
> > > > > handled. I did
> > > > > a trivial demo to catch the display resizing,
> > but
> > > keypresses etc are
> > > > > usually simple enough.
> > > > > The big complication is the platform spread
> > issue; how do
> > > we nicely
> > > > > handle different platforms having totally
> > different ideas
> > > > about events
> > > > > outside the trivia of kbd/mouse presses?
> > > >
> > > > I would be happy with support for display
> > resize/kbd/mouse
> > > > events. Heck,
> > > > I would be happy with display resize support.
> > The only
> > > > events I've seen
> > > > discussed on the list were display resize and
> > keyboard presses.
> > > >
> > > > -david
> > > >
> > >
> >
> >
>
> __________________________________________________
> Do You Yahoo!?
> Send online invitations with Yahoo! Invites.
> http://invites.yahoo.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20000418/af5b13f5/attachment.htm
More information about the Squeak-dev
mailing list
|