Re: Get tree_path from iter



Padraig O'Briain wrote:
When changing the model has finished, I want to set the cursor on this specific row. Thanks to the tree tutorial [1,2] I found out I need to call gtk_tree_view_set_cursor [3]. However this function needs a path and for the time I cannot work out how to get a path from the iter.

Try gtk_tree_model_get_path

Emberrassing .. thanks. Works perfectly.

- Markus



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