[racket] Racket GUI with Xlib

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Nov 27 13:09:21 EST 2012

On Tue, Nov 27, 2012 at 11:45 AM, Laurent <laurent.orseau at gmail.com> wrote:
>> >> (paramterize ([current-eventspace gui-eventspace]) (queue-callback
>> >> (lambda () (send f popup-menu menu2 100 100))))
>> >
>> >
>> > Just did that, and now it says #t for being in the gui-eventspace, but
>> > it
>> > still has the same behavior otherwise (i.e., the popup menu does not
>> > show up
>> > and then the button does not work anymore).
>> Perhaps the handler thread of the gui-eventspace is already busy doing
>> something.
> Though the behavior is quite consistent and the callbacks are the same, so I
> have no clue what could keep it busy.
> Are you aware of any important difference between a button callback and a
> queue-callback? (the sources are rather obscure)

They have different priorities, but I don't think that would matter
here, since it seems like it is being scheduled.

Also, there could easily be a bug here, but it is hard to say what is
going wrong without an example program to run.


Posted on the users mailing list.