GtkTreeView how to keep selection



Hello,

When I have selected a row in a treeview the selected row is shown in different colors, but this visible selection disappears after the focus has changed. For instance if you reorder rows or click on an other widget, the selection is not any longer shown by different colors, although the selection is not changed as state (calling gtk_tree_selection_iter_is_selected() will return TRUE on this row).

Now I really like this visual feedback, is there a way how I can keep the changed colors, even when the focus changes? I don't know where to look for it at the moment, so every help would be appreciated.

Thanks, Peter!



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