On Thu, Apr 08, 2010 at 06:11:15PM -0700, Aniello Del Sorbo wrote:

> >     /* Get the path to row 0 */
> >     path = gtk_tree_path_new_from_string ("0");
> > 
> >     /* Get the tree iter for that path */
> >     gtk_tree_model_get_iter (GTK_TREE_MODEL (model),
> >                     &iter, path);
> > 
> >     /* Do not need path anymore */
> >     gtk_tree_path_free (path);

Btw, you have

  gtk_tree_model_get_iter_first ()
  gtk_tree_model_iter_nth_child ()

which are easier to use.

Berto
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to