Little trouble here =)
the g_signal_connect works like what? g_signal_connect(GTK_WIDGET(widget), signal("clicked"), G_CALLBACK(Function), (gpointer) "Data");
but the callbacks functions have the GtkWidget *Widget as a 1st parameter, and... well, i simply don't get it. =)
Does anyone cares to explain to this little noob the arts and secrets of the g_signal_connect?
Each widget has a list of its signals, and each signal has the prototype for its handler. See for instance <http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-accel-closures-changed>.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list