Re: How to remove all the selectd row in Treeview?

On Thursday 30 October 2003 15:41, Tom Liu wrote:

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).

My suggestion is something like this:

Theoretically, you could also make an array of GtkTreeIter structs, get the 
paths and convert them all into tree iters, and then remove all those iters. 
While possible (because GtkListStore has persistent iters), I find it a bit 
dirty and hackish. 


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