[plt-scheme] Key events within a frame

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Jun 10 16:54:55 EDT 2003

At Tue, 10 Jun 2003 17:56:12 +0200, Jean-Guillaume Pyraksos wrote:
> In order to program a game, i want to listen to keyboard events within 
> a frame. But i must click in the frame to get the focus. I tried some 
> function (whose name i don't remember) to get that focus but it didn't 
> work.

You tried `(send my-canvas focus)'? That should have worked.

Which platform are you using? (Your message's header suggests OS X, but
not conclusively.)


Posted on the users mailing list.