Adolfo Eloy wrote:
[...]
txt = *( ( (GtkWidget **)(data) ) + i);
I think:
txt = ( ( (GtkWidget *)(data) ) + i);
Is better (completely off the top of my head).
But even better would be:
GtkWidget **widgets = (GtkWidget **)data;
for (...) {
widget = widgets[i];
}
Cheers,
Hello,
I have 2 sources(interface.c and callbacks.c) which
belongs to my project,
that is an interface to connect to postgresql, using
GTK.
The problem is: I want to pass an array of pointers
to GtkWidgets (in this case GtkEntries) for my
callback that need to catch the 3 elements(GtkEntry),
to g