Another question
- I'm writing a slideshow application which is going very well. I like the idea of controlling operations with keystrokes (eg space bar, arrow keys), which is common interface style these days. How could this be done without a text field or text area?
Getting keystrokes while displaying images...
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
Just like we have gs:mouse-event usable for any component in the system (not only canvas), we will have a gs:key-event, this is important for programming any games, I simply forgot about this. We will have another development version this week, where you will find gs:key-event.
Lutz
ps: as a workaround till then you could use gs:mouse-event and checking for the left/right button and modifier keys.
Lutz
ps: as a workaround till then you could use gs:mouse-event and checking for the left/right button and modifier keys.
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact: