set_search_column


Description:

public void set_search_column (int column)

Sets column as the column where the interactive search code should search in for the current model.

Note:

Use [class@Gtk.ListView] or [class@Gtk.ColumnView] instead

If the search column is set, users can use the “start-interactive-search” key binding to bring up search popup. The enable-search property controls whether simply typing text will also start an interactive search.

Note that column refers to a column of the current model. The search column is reset to -1 when the model is changed.

Parameters:

this

A `GtkTreeView`

column

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