Trouble with GtkImage on button press event!

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

 



I need to capture the button press event on a GtkImage widget, and I  use the
following code:

	w = lookup_widget(MainWnd,"image1");
	gtk_widget_add_events(w, GDK_BUTTON_PRESS_MASK	);

and I mapped the "Button press event" using glade, but it never worked.
Anyone knows why?
--
View this message in context: http://www.nabble.com/Trouble-with-GtkImage-on-button-press-event%21-t1815116.html#a4947880
Sent from the Gtk+ - General forum at Nabble.com.

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux