Re: Unique number for a tree view row



On Sunday 18 April 2004 15:02, Dan Korostelev wrote:

Can I get an unique number of a row in list treeview, that doesn't
depend on sort order????

You could

(a) store your own unique number/pointer in the list store/tree store, or

(b) store the GtkTreeIter structure somewhere for models with persistent tree 
iters (GtkListStore and GtkTreeStore have persistent iters), or

(c) use GtkTreeRowReferences to keep track of a particular row 

Cheers
-Tim



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