On Wed, 12 Dec 2007 03:23:38 +0100, Ken Tilton kennytilton@optonline.net wrote:
A cursory glance at the GTk doc itself does not show things like insert/delete row or set cell value. Can you steer me to those?
the API: http://library.gnome.org/devel/gtk/2.11/GtkTreeStore.html
or more readable: http://scentric.net/tutorial/treeview-tutorial.html
The treestore/liststore is the "underlying C data structure" I was talking about in my first email.
In GTK-speak, a treestore/liststore implements the tree-model interface, which is used by the tree-view widget. And all I want is a treebox ;)
Good night (its 430AM over here),
Peter
If they do not exist, it may well be that the Gtk tree view widget itself was designed with a static model in mind, in which case, yes, you are in for some fun milking what API it does offer. And, again /if/ this is the case, I recommend checking with the Gtk list to see if something has been missed and how they handle what seems like a pretty common requirment.
kt