Re: Highlight(activating?) a specific row in a list

On Mon, 2007-05-14 at 20:19 +0000, 999alfred comcast net wrote:
> I have a project where I periodically update a list tree view. Now when ever I update the list, is there was a row highlighted by a mouse single click, the highlight disappears. Now, I wrote code to be able to identify the old row as the new store is built. But, my question is how is the best way to activate that row?
> I looked at 
> (void gtk_tree_view_row_activated         (GtkTreeView *tree_view,
>                                                          GtkTreePath *path,
>                                                          GtkTreeViewColumn *column);
> But, How do I get the GtkTreeViewColumn argument? And why is it a column and not a row?

you really want to use the GtkTreeSelection object:

and the gtk_tree_selection_select_iter()/_path() functions.


Emmanuele Bassi,  E: ebassi gmail com

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