I’m creating a simple slideshow, and I’d like to be able to jump to a given 
slide instantly, ideally by pressing a particular key. Basically, I’d like to 
be able to write this:

#lang slideshow

(extend-keyboard-handler
 (lambda (key default-handler)
   (match key
     ["1" (jump-to-slide some-slide)]
     ["2" (jump-to-slide some-other-slide)]
     ["a" (play my-sound)]
     [other (default-handler key)])))

I’ve just been through the slideshow docs, and I don’t see anything like 
this—at least, not documented. Is something like this easy, or hard?

Thanks!

John

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to