Re: Gtk+3 general functions

2014-02-01 Thread Ian Martin
Hi, If you connect to the Gtk::Widget signal_event and have enabled a button_press_mask you should get what you want. See (from the ref docs: Glib::SignalProxy1< bool,GdkEventButton* > Gtk::Widget::signal_button_press_event ( ) The signal_button_press_event() signal will be emitted

Re: Gtk+3 general functions

2014-02-01 Thread Kjell Ahlstedt
2014-02-01 10:48, Juan Rafael García Blanco skrev: Hi, I’m in need of using the equivalent to gtk_get_current_event(), inside a signal handler, so I can get where exactly the event occurred. I’ve search for it in gtkmm for a while but I found nothing. Isn’t it wrapped for a reason? Does othe

Gtk+3 general functions

2014-02-01 Thread Juan Rafael García Blanco
Hi, I’m in need of using the equivalent to gtk_get_current_event(), inside a signal handler, so I can get where exactly the event occurred. I’ve search for it in gtkmm for a while but I found nothing. Isn’t it wrapped for a reason? Does other method exist to get the point (x,y) where the event