Ok works great, thanks a lot
Le Vendredi 12 Avril 2002 13:44, Sven Neumann a écrit : > Hi, > > Have a look at the scribble-simple example in the gtk+ docs to see how > button_press events are properly handled. Basically you need something > like: > > gtk_widget_add_events (widget, GDK_BUTTON_PRESS_MASK); > gtk_signal_connect (widget, "button_press_event", callback, data); > > You can then access the pointer position thru the GdkEventButton that > is passed to your callback -- Jean-Yves Lamoureux Software Developper _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list