[Glade-users] On_motion_notify_event



I don't forsee it being a problem unless performance is of utmost importance. I will probably come back to 
this later, and incorporate it into my program

Jeffrey Barish <jeff_barish at earthlink.net> wrote: Tristan Van Berkom wrote:

On Wed, Oct 15, 2008 at 12:47 PM, PEYMAN ASKARI 

wrote:
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

_______________________________________________
Glade-users maillist  -  Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20081015/adfb452e/attachment.html 




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