[maemo-developers] HildonTouchSelector

From: Aniello Del Sorbo anidel at gmail.com
Date: Fri Apr 9 18:37:38 EEST 2010
On 9 April 2010 02:14, Alberto Garcia <agarcia at 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
More information about the maemo-developers mailing list