Re: GtkListView, hide line



Arno wrote:

Hello,

I use the function gtk_tree_model_foreach tu scan my GtkList. But I would like to hide some line and I don't kow. Could you help me ? I have a GtkTreeIter and a GtkTreePath of my line.

Thank you
Arno

I could read that it's impossible to hide a row in GtkTreeview or GtkListView in GTK2. But I must apply a filter to get some row. So I think that I could make an other GtkListView invisible. When I mahe a search I copy the row into the invisible widget and when I have finished, I change the status of the curent list in invisible and the other one to visible.

I know that it's not a very good solution but I need to do it. If you could give me your opinion on this solution.

thk ;)

PS: I don't want to drop item when I make a search. The other solution is to change the background color of the row matched but I don't know how.


__________________________________________________
Modem offert : 150,92 euros remboursés sur le Pack eXtense de Wanadoo ! Haut débit à partir de 30 euros/mois : http://www.ifrance.com/_reloc/w




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