Re: GTK working with pointers
- From: Tristan Van Berkom <tristan van berkom gmail com>
- To: Adolfo Eloy <nastech_systems yahoo com br>
- Cc: gtk-list gnome org
- Subject: Re: GTK working with pointers
- Date: Fri, 29 Jul 2005 13:51:20 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]