[racket] OS X and correct handling of events

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Sun Dec 9 16:14:19 EST 2012

OS X allows programs to add a status bar item to the status bar.
The attached program constructs such an item, attaches a small
menu and adds it to the system bar.  Finally sleep/yield is called.

Here is what happens:
   - the status item appears in the status bar
   - I click the status item
   - the time given in the sleep/yield passes
   - the menu appears below the status item.

The desired action is that the menu appears as soon
as the status item is clicked.

How can I get the OS X events to work together with the
event handling of DrRacket?

--
Jens Axel Søgaard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: menubar.rkt
Type: application/octet-stream
Size: 4365 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20121209/238665bb/attachment.obj>

Posted on the users mailing list.