I had forgotten the Gdk::POINTER_MOTION_MASK. I included it, but still it
will not do?
Here is some of my code, to see the initialisation:
image1->signal_expose_event().connect(SigC::slot(*this,&main_window_glade::on_image1_expose_event),
false);
image1->signal_motion_notify_event().connect(SigC::slot(*this,&main_window_glade::on_image1_motion_notify_event),
false);
main_window->signal_delete_event().connect(SigC::slot(*this,&main_window_glade::quit),
false);
image1 -> add_events(Gdk::POINTER_MOTION_MASK);
and the signal:
bool main_window::on_image1_motion_notify_event(GdkEventMotion *ev)
{
label1 -> set_text("event is there");
return 0;
} // i have that reduced to a minumum first
Thanks for the help
--
View this message in context:
http://www.nabble.com/problem-with-motion_event-on-image-tf2478866.html#a6914281
Sent from the Gtkmm mailing list archive at Nabble.com.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list