GtkTreeView & Co



i tried to make a little program with a gtk tree...
but although there are api docs, it was very difficult to understand it

if you try to add something to the three model, you need to have a tree iter (GtkTreeIter), but the callbacks give you only a GtkTreePath, so you have to convert the path to a iter and than change the values... and if you have the GtkTreeIter and you need to walk on the tree, you have to get the GtkTreePath and then walk on the tree...
isn't this too complicated ?

why dont you use the GLib GNode (as a replacement for the GtkTreePath and GtkTreeIter), it would me much easier to use...


tom





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