Re: Mouse Motion Event



Hello,
ALL_EVENT includes (as i guess:) ) also Gdk::POINTER_MOTION_HINT_MASK, so to not have that behaviour you should not set that Gdk::POINTER_MOTION_HINT_MASK flag.

If you want to know what that flag does, read here:

http://mail.gnome.org/archives/gtk-list/1999-October/msg00275.html

Greetings,
Luca

Robert Connell wrote:
Invoking add_events(Gdk::ALL_EVENTS) results in the motion_event routine
being executed only when the mouse enters the viewing area.  Replacing the
above with add_events(Gdk::POINTER_MOTION_MASK) fixes the issue.  I am
using:

gtkmm-2.4

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list





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