Adding KeyBoard Support

karl karl.ramberg at chello.se
Tue Jun 13 19:57:27 UTC 2006


Noname Myname skrev:
>
>  
> Hi all ,
> how xactly do i create a subclass of ImageMorph that is able to 
> respond to keyBoard inputs like any keypress when the imageMorph has 
> focus etc etc .. .
>
> plz help !
> Thnx
>
Look at how TextMorph handles keyboard input and do the same for your 
ImageMorph subclass.
I guess you have to do some stuff with drawing as well if you want the 
characters drawn on the morph.
Karl
>
>
>
> <http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3> 
>
> ------------------------------------------------------------------------
>
>
>   




More information about the Squeak-dev mailing list