Re: 'enable-search' lost after applying new ListStore to TreeView



On Sun, Nov 14, 2010 at 09:40, Zettai Muri <zettaimuri gmail com> wrote:
The problem I am having is after the model is re-applied the
'enable-search' feature of the TreeView appears to stop working,
or is removed.
âThe search column is reset to -1 when the model is changed.â
http://library.gnome.org/devel/gtk/stable/GtkTreeView.html#gtk-tree-view-set-search-column

You need to call âset_search_column(NAME_COL)â again after changing
the model (in âapply_modelâ).



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