[racket] Racket GUI with Xlib

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Nov 27 11:53:43 EST 2012

On Tue, Nov 27, 2012 at 10:52 AM, Laurent <laurent.orseau at gmail.com> wrote:
>
> On Tue, Nov 27, 2012 at 5:43 PM, Robby Findler <robby at eecs.northwestern.edu>
> wrote:
>>
>> 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))

Robby

Posted on the users mailing list.