SledgeHammer_999
July 31st, 2008, 03:42 AM
I want to catch the Gtk::Widget::signal_button_release_event() (http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html#41cc715ff6cea7056beaea8a93 cd0a3e) of a widget. It says that my callback has to be like this: callback(GdkEventButton* event). But I can't find any documentation in gtkmm for GdkEventButton. I want, when this signal is emited, to get the coordinates of the mouse. I suspect that I need to use the "GdkEventButton* event" but I don't know how. Can you help me?