Re: Why can my window not reveive button_press signal?



Hi jerry,

As Paul Devis said: You have to tell GTK (GDK?) that you wish to handle
mouse press events. Use the add_events function from Gtk::Widget. See
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html#a2

- Armin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]