_really_ disable Search GtkTreeView

How to really disable gtk treeview interactive search? docs says set_enable_search(False), but if I do, CTRL+ Fstill causes an annoying pop-search until it appears. Connecting to start-interactive-searchand returning Truedoes not work either.

+5
source share
1 answer

The pygtk docs do not indicate this, but C docs do:

gtk_tree_view_set_search_column (GtkTreeView *tree_view, gint column)

column :
    the column of the model to search in, or -1 to disable searching 

Passing -1for a column really disables the search.

+5
source

All Articles