|
From: | ]d |
Subject: | Re: Is IO locked while pressing the menu? |
Date: | Fri, 22 Feb 2002 21:08:40 +0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020211 |
Richard Frith-Macdonald wrote:
My guess is simply that your code is not waiting for events in the right runloop mode. When you press the mouse button over a menu, the menu tries to grab all events by running the loop in NSEventTrackingRunLoopMode ... which means that the runloop won't be watching for events in other modes. Try using waitForDataInBackgroundAndNotifyForModes: with the mode arrayset to include NSEventTrackingRunLoopMode as well as NSDefaultRunLoopMode.
Thanks a lot. Thus, alexm_ and esammer from irc://irc.openprojects.net/#gnustep just help me out
about this a few hour ago. Very thanks to them too. Best regards, ]d
[Prev in Thread] | Current Thread | [Next in Thread] |