[racket] Racket GUI with Xlib

From: Laurent (laurent.orseau at gmail.com)
Date: Tue Nov 27 12:00:08 EST 2012

> >> Is the callback than handles the c-f1 keystroke running in
> >> gui-eventspace or in some other eventspace?
> >
> >
> > It's in the gui-eventspace (just checked with a printf and a comparison
> with
> > `(eq? (current-eventspace) gui-eventspace)'), and so is the button
> callback.
> Not that I doubt your answer, but the telltale test is not that one, but:
> (eq? (current-thread) (eventspace-handler-thread gui-eventspace))

With that test, it says yes for the button callback, and no for the C-F1
(good thing I wrote my test above, then)

So how can I make sure that the C-F1 callback is handled by the

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121127/9c73577d/attachment.html>

Posted on the users mailing list.