Re: how to browse values from a GtkListStore ?



On Sat, Nov 14, 2009 at 04:49:36PM +0100, for ad free fr wrote:

Is possible to browse them with an index ?

What is an index?

You can use gtk_tree_mogel_get_iter() to get an iter corresponding to
given position in the tree (as represented by GtkTreePath).

You can iterate using gtk_tree_iter_first()/gtk_tree_iter_next().

I tried to access them bypass the member "sort_list->data" but without sucess.

That's good because it's a private data member you must not touch and,
in fact, you cannot access any more if GSEAL is in effect.

Yeti




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