Re: Searching a GtkTreeView

2010-03-20 Thread Olivier Sessink
Micheal Smith wrote: > That could work. I've thought of similar tricks already myself. I just > figured that had to be the wrong way to go about it. Is there nothing > supplied by the API to support something like this? you can use a filter, and make the treeview refilter for every key press i

Re: Searching a GtkTreeView

2010-03-18 Thread Micheal Smith
On 03/18/10 06:29 PM, Carlos Pereira wrote: xul...@cheapbsd.net wrote: I'm looking for a way to find a certain column containing a certain string within a GtkTreeView/model. I know I can loop through each row and search through the column manually, but this seems to be rather slow and cumberso

Searching a GtkTreeView

2010-03-18 Thread xulfer
I'm looking for a way to find a certain column containing a certain string within a GtkTreeView/model. I know I can loop through each row and search through the column manually, but this seems to be rather slow and cumbersome. Is there a better way of accomplishing this? _