[Glade-users] signals



but if i would like so send all the array? because i need to use many ints,
the number of ints that i will need can change.
and i am having the same problem with the string, if a send an array of
chars define like char  example[100];
 g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (callback),
 (gpointer) example);
doesn't work neither.

any ideas why can it be?

On 2/12/07, katsanqat at orange.fr <katsanqat at orange.fr> wrote:

On Monday 12 February 2007 17:45, Mariano Perez-Sauquillo Perera wrote:
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (callback),
(gpointer) a);

g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (callback),
(gpointer) a[0]);

Should be ok.

_______________________________________________
Glade-users maillist  -  Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20070213/9fdabfd8/attachment.html 




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