Re: [gtkmm] motion notify troubles



On Thu, 2002-11-14 at 15:05, Ainsley Pereira wrote:
> You need to call add_events(Gtk::POINTER_MOTION_MASK) in your constructor to
> make sure you get the motion event. (I think that's the one you need - there
> are other ones for BUTTON_MOTION_MASK etc).

That doesn't help. I did have the following in my code:
m_DrawingArea.set_events(Gdk::ALL_EVENTS_MASK);

And I just added:
m_DrawingArea.add_events(Gdk::ALL_EVENTS_MASK);

right before the previous line. I still have the same behavior as
before. I've also tried using Gdk::POINTER_MOTION_MASK and
Gdk::POINTER_MOTION_HINT_MASK to no avail. You did mean "Gdk::" and not
"Gtk::" in your email, correct?

-Eric




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