[racket] Racket GUI with Xlib

From: Laurent (laurent.orseau at gmail.com)
Date: Tue Nov 27 06:09:23 EST 2012

Independently of the server and the keybindings:
If I create a frame with a button which callback pops up a menu, it works.
If I create a frame and call popup-menu on it directly, it fails (the menu
does not appear, and the button above does not show its own menu anymore
either, which may mean something about eventspaces being frozen? Although I
can still click on another button that hides the frame)

Any idea? I'm kind of stuck in the eventspace...


On Mon, Nov 26, 2012 at 4:55 PM, Laurent <laurent.orseau at gmail.com> wrote:

> There is a remaining problem: I can show frames and buttons alright, and
> press them, but popup-menus seem to resist (although the frame I call
> show-popup-menu on does show up).
> What's strange is that they work when called from the console (in a
> different thread, in a different namespace with eval, but with
> namespace-anchor), but not via a keybinding (in the main thread, and in the
> main namespace), and I could not yet reproduce this behavior in a simpler
> setting than in the server thread...
> Is there something special about popup-menus?
> Laurent
> On Sun, Nov 25, 2012 at 6:30 PM, Laurent <laurent.orseau at gmail.com> wrote:
>> It works! Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121127/6b729d22/attachment.html>

Posted on the users mailing list.