>void my_callback_function (GtkButton *widget, gpointer user_ptr);
>
>...
>
>g_signal_connect( G_OBJECT( widget), "clicked",
>       G_CALLBACK( my_callback_function), user_ptr );
>
>
>void my_callback_function (GtkButton *widget, gpointer user_ptr) {
>
>       ...
>}
>
>
>http://library.gnome.org/devel/gtk/unstable/GtkButton.html

but how I can pass to my_callback_function the gtk_drawing_area? I
know about the g_signal_connect.. but I not know how pass another
widget,         without the widget being passed the first parameter of
function..
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to