g_signal_connect



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?



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