Sets whether search is enabled for this.
a preferences window
`TRUE` to enable search, `FALSE` to disable it