|
Re: [ENH]Keyboard contoll of etoy scripts.: msg#01282lang.smalltalk.squeak.general
Ned Konz wrote: > > On Wednesday 28 August 2002 07:37 am, Karl Ramberg wrote: > > Now set the 'morph's hasKeyboardFocus' to true. > > Press a key. > > Do you find that the concept of "keyboard focus" is useful? What you > may want to do instead is set your players up as keyboard listeners; > there is a listen hook for keyboard. You could still switch listening > off or on; this way you don't have to worry about (global) keyboard > focus, or touch the PasteUpMorph. The individual Morph can still > choose to ignore the keyboard events. Good tip. I have implemented is and it seems to work nicely. Update comming soon. Karl
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Using TT Fonts?, Aaron |
|---|---|
| Next by Date: | GC behavior?, Stephen Pair |
| Previous by Thread: | Re: [ENH]Keyboard contoll of etoy scripts., Ned Konz |
| Next by Thread: | GC behavior?, Stephen Pair |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |