Re: GTK working with pointers

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

 



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,
                               -Tristan

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux