logo       

Re: Someone to critique my custom Morph?: msg#00146

lang.smalltalk.squeak.beginners

Subject: Re: Someone to critique my custom Morph?

trilobyte@xxxxxx 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.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise