[Glade-users] On_motion_notify_event
Jeffrey Barish
jeff_barish at earthlink.net
Wed Oct 15 11:35:53 EDT 2008
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?
>
> Thanks
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
More information about the Glade-users
mailing list