I inherit the Gtk::Window ,overwrite it's virtual member function on_button_press_event<http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html#ba72b7f8655d1a0eb1273a26894584e3>(GdkEventButton* event) and on_button_release_event<http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html#ba72b7f8655d1a0eb1273a26894584e3>(GdkEventButton* event) , and add such codes in the construction function: singal_button_press_event.connect(...) and singal_button_release_event.connect(....) or add such codes in the construction function :add_events(Gdk::EventMask::.......).
Neither method can capture mouse event. how can i response mouse event for a GtkWindow in maemo?
_______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
