On 9 April 2010 02:14, Alberto Garcia <agar...@igalia.com> wrote:
> 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

True.
It was simply the first solution I came up with, with my limited
knowledge of GTK and it's tools

Thanks for everything though :)

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

Reply via email to