[Glade-users] signals
katsanqat at orange.fr
katsanqat at orange.fr
Tue Feb 13 05:55:38 EST 2007
Hi,
Maybe variable wasn't initialized?
As this is an important aspect of GTK+ programming, please take a look at the
attached file. Hope this helps.
Knowing there is another alternative: global variables. But they tend to
decrease performances by non-contiguous memory calls.
On Tuesday 13 February 2007 00:30, you wrote:
> 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g_signal_connect.c
Type: text/x-csrc
Size: 1836 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-users/attachments/20070213/0201174f/attachment.bin
More information about the Glade-users
mailing list