<div>I inherit the Gtk::Window ,overwrite it's virtual member function <a class="el" href="http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html#ba72b7f8655d1a0eb1273a26894584e3">on_button_press_event</a> (GdkEventButton* event) and <a class="el" href="http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html#ba72b7f8655d1a0eb1273a26894584e3">on_button_release_event</a> (GdkEventButton* event) ,</div>
<div>and add such codes in the construction function: singal_button_press_event.connect(...) and singal_button_release_event.connect(....)</div>
<div>or add such codes in the construction function :add_events(Gdk::EventMask::.......).</div>
<div> </div>
<div>Neither method can capture mouse event. how can i response mouse event for a GtkWindow in maemo?</div>