Re: [gtkmm] motion notify troubles
- From: Eric Newman <enewman ati com>
- To: Ainsley Pereira <gtkmm pebble org uk>
- Cc: gtkmm Mailing List <gtkmm-list gnome org>
- Subject: Re: [gtkmm] motion notify troubles
- Date: 14 Nov 2002 15:26:50 -0500
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]