Re: g_signal_connect



Would you explain better your problem??

Do you want a signal that is not used when you click a button, for
example? When will it occur? What event? You may use a NULL there...

On 5/3/05, Tomaz Canabrava <tumaix gmail com> wrote:
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?
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



-- 
André Pedralho
Bachelor in Computer Science
Instituto Nokia de Tecnologia



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