RE: Extra callback parameters



When you link a signal to a function, you already know it is the "click"
function.

If you link two different signal to one call back function, then you
have to 
Use the cdata with a structure.

I think one cdata saves a lot of space, because most call back is just
using one call back data.




-----Original Message-----
From: gtk-app-devel-list-admin gnome org
[mailto:gtk-app-devel-list-admin gnome org] On Behalf Of mrada
Sent: Wednesday, October 22, 2003 1:14 PM
To: gtk-app-devel-list gnome org; rjshaw iprimus com au
Subject: Re: Extra callback parameters

g_signal_connect(G_OBJECT(colbutton),"clicked",G_CALLBACK(colour_cb),cd
ata);

Where does one find the signal names, like "clicked", above?

Chris
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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