[Newbies] Re: Someone to critique my custom Morph?

Luke Gorrie luke.gorrie at synap.se
Sat Mar 24 16:45:26 UTC 2007


trilobyte at hoe.nu writes:

> I have made a custom Morph to look for keyboard events when it is the
> current mouse focus.  Is there anyone out there who could look at my class
> and give me suggestions / observations?

I'm also a Squeak newbie but I recently wrote a similar morph and
found a reasonably nice way to dispatch on keyboard events.
Details at the bottom of http://lukego.livejournal.com/2909.html
in case it's a source of ideas.

See also Object>>caseOf: for a select/case statement of sorts.




More information about the Beginners mailing list