problem with getting button_press_event on a drawing area
- From: Yair Hershkovitz <yairhr 013 net>
- To: gtkmm-list gnome org
- Subject: problem with getting button_press_event on a drawing area
- Date: Sat, 28 May 2005 19:53:02 +0000
hi
this is the related code:
set_flags(get_flags() & Gtk::CAN_FOCUS);
set_events(Gdk::KEY_PRESS_MASK & Gdk::EXPOSURE_MASK & Gdk::BUTTON_PRESS_MASK
& Gdk::BUTTON_RELEASE_MASK & Gdk::POINTER_MOTION_MASK);
signal_button_press_event().connect(sigc::mem_fun(*this,&Canvas::on_button_press_event));
but i dont catch the event
yair
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]