[Glade-users] On_motion_notify_event

Tristan Van Berkom wrote:

On Wed, Oct 15, 2008 at 12:47 PM, PEYMAN ASKARI <paskari007 at yahoo.ca>
So it worked, GDK_POINTER_MOTION_HINT_MASK was set to True, and I just
changed it to False and the motion_events work normally now

Did you read the docs concerning the motion-hint-mask ?

I strongly recommend that you use it - motion notify events usually
are delivered at an alarming rate, treating each event individually
could easily end up in an event backlog and your program lagging
(or worse; miscalculations based on unexpected series of events...)

DnD works unreliably with the hint mask set because the one motion notify
event is usually too close to the button press event to trigger the drag. 
I've not had a problem with an event backlog even on a slow platform, but
now I'm worried.  I suppose that one could block the event on drag-begin
and unblock it on drag-end.
Jeffrey Barish

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]