Trouble with GtkImage on button press event!
- From: heavenscape <masonduan1 sina com>
- To: gtk-list gnome org
- Subject: Trouble with GtkImage on button press event!
- Date: Mon, 19 Jun 2006 18:48:00 -0700 (PDT)
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]