How to remove all the selectd row in Treeview?



HI, 
I made a list with TreeView, I want to remove all the select rows, which
function I should use?
(the selection may have more than one row).

gtk_tree_selection_get_selected_rows
        This function return path list, when I delete one path, the
other path is changed also.

gtk_tree_selection_selected_foreach
        Document says I can't change the Liststore in this foreach
function?

Is there easy way to do this?
Also, if I want to move all the selected row up or down, How do I do
this?

Thanks.




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