Reputation: 2315
Right now I have a motion_notify_event
on an event_box
to track mouse coordinates. I can detect motion only if I click on the event_box
does any one know how I can capture the event on the event_box
when the mouse is over so I don't have to click on it. Thanks.
Upvotes: 2
Views: 2093
Reputation: 10197
I think you want to listen to the "motion-notify-event"
signal. Make sure you also enable the GDK_POINTER_MOTION_MASK
flag.
Upvotes: 5