On Mon, 2006-06-19 at 18:48 -0700, heavenscape wrote: > I need to capture the button press event on a GtkImage widget... > and I mapped the "Button press event" using glade, but it never worked. > Anyone knows why? [gtk] Images themselves don't have [gdk] Windows underneath them, and only such Windows receive events. There is thus a "helper" class called GtkEventBox. You have to nest the Image inside an EventBox to which you can then hook up mouse button press events. http://developer.gnome.org/doc/API/2.0/gtk/GtkEventBox.html or http://java-gnome.sourceforge.net/docs/javadoc/org/gnu/gtk/EventBox.html AfC Sydney -- Andrew Frederick Cowie Operational Dynamics Website: http://www.operationaldynamics.com/ Blog: http://research.operationaldynamics.com/blogs/andrew/ GPG key: 0945 9282 449C 0058 1FF5 2852 2D51 130C 57F6 E7BD _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list