[Glade-users] On_motion_notify_event

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

The interesting thing is that I remember making this change a while back (I randomly started changing options 
to see their effects) but it didn't affect my program until now. That is very strange.

The issue has either to do with the fact that I switched over to a different python interpretter, or that I 
am forced to using Glade 2 instead of Glade 3 now.

Jeffrey Barish <jeff_barish at earthlink.net> wrote: PEYMAN ASKARI wrote:

So I tried to switch from PyGTK to Cairo, but I had to install
python-devel first. So I tried to install python-devel but I completely
destroyed the python interpretter instead.

So I reinstalled linux (the sum of the time spent installing the parts
takes longer than installing the whole), but now the
on_motion_notify_event is acting strangely. Namely, it acts like a button
click event.

When I enter the screen it gets called once and only once. Has anyone come
across anything like this before?


Yes, though not under the circumstances you described.  Check
GDK_POINTER_MOTION_HINT_MASK.  When it is set, the server will send only a
single MOTION_NOTIFY event.  Glade sets it by default.
Jeffrey Barish

Glade-users maillist  -  Glade-users at lists.ximian.com

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

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