GtkStringFilter

gtk.string_filter.StringFilter determines whether to include items by comparing strings to a fixed search term.

The strings are obtained from the items by evaluating a gtk.expression.Expression set with gtk.string_filter.StringFilter.setExpression, and they are compared against a search term set with gtk.string_filter.StringFilter.setSearch.

gtk.string_filter.StringFilter has several different modes of comparison - it can match the whole string, just a prefix, or any substring. Use gtk.string_filter.StringFilter.setMatchMode choose a mode.

It is also possible to make case-insensitive comparisons, with gtk.string_filter.StringFilter.setIgnoreCase.

struct GtkStringFilter