ld_iter, 0, "Skills", -1);
gtk_tree_store_append (tree_store, &parent_iter, &child_iter);
gtk_tree_store_set (tree_store, &child_iter, 0, "Equipment", -1);
gtk_tree_view_set_model (GTK_TREE_VIEW(view),
GTK_TREE_MODEL(tree_store)
f
((gtk_image_get_storage_type(GTK_IMAGE(lookup_widget(themenagerie,"image_creature_pic")))
!= GTK_IMAGE_PIXBUF) &&
(gtk_image_get_storage_type(GTK_IMAGE(lookup_widget(themenagerie,"image_creature_pic")))
!= GTK_IMAGE_EMPTY))
doesnt seem to work...
How do I test for
:20:05PM +0800, Jason Brisbane wrote:
>
>> I have a treeview that is populated with an Integer value (from a mysql
>> database) that is populated into a G_TYPE_STRING.
>>
>
> Why? Inappropriate data representation is the source of all
> your problems.
>
>
db_row[4],
5, db_row[5],
6, db_row[6],
7, db_row[7],
8, db_row[8], -1);
}
mysql_close(conx);
}
}
model = GTK_TREE_MODEL(list_store);
gtk_tree_view_set_model (treeview2, model);
g_object_unref (model);
}
gtk_widget_show(GTK_
ples all referred to (from the SAMS
publishing website).
Thanks for your comments. They helped me rethink the issues I was
having and got me to this stage!
Regards,
Jason Brisbane
>
> Original Message
>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [Glade-u
OOPS:
Synaptic tells me I am running the following versions:
libgtk2.0-dev Version 2.10.6-0ubuntu3.1
libgtk2.0-common Version 2.10.6-0ubuntu3.1
libgtk2.0-bin Version 2.10.6-0ubuntu3.1
Glade-common Version 2.12.1-5ubuntu2
Ubuntu 6.10 Edgy Eft
Thanks.
--
Regards,
Jason Brisbane
gtk_container_add (GTK_CONTAINER(lookup_widget(widget,
"scrolledwindow4")), view);
gtk_widget_show_all(widget);
mysql_close(conx);
}
}
}
}
--
Regards,
Jason Brisbane
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list