Re: how to search item in a tree view??



Try using gtk_tree_model_foreach, then a compare function which returns
true when found (you'll need to make a copy of the tree iter when its
found).

       nash

thank you, it s working fine :)


* segv-tomate freesurf fr <segv-tomate freesurf fr> wrote:
hi,

i would like to do a search from a tree view but i don't know how to
do it i see the functions gtk_tree_view_get_search_equal_func, but
there are here just to SET the search function...
so, which functions do i have to use???

thx ;)


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

--
Brett Nash <nash nash nu>
Sometimes it's better to light a flamethrower than curse the darkness.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list






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