Re: Trouble with GtkImage on button press event!



Le lundi 19 juin 2006 �8:48 -0700, heavenscape a �it :
> 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?


do you call glade_xml_signal_autoconnect in your code?


> 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 mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 




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