Re: Gtk::Image and mouse click



Also note that a Gtk::Image derives from Gtk::Misc and therefore has no
underlaying GdkWindow of its own. Thus, your callback will never be
called. You should add the image into a Gtk::EventBox and connect to the
EventBox's button pressed event (as Paul Davis already suggested).

Attachment: signature.asc
Description: This is a digitally signed message part



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