Creates a new string filter.
Gets the expression that the string filter uses to obtain strings from items.
Returns whether the filter ignores case differences.
Returns the match mode that the filter is using.
Gets the search term.
Sets the expression that the string filter uses to obtain strings from items.
Sets whether the filter ignores case differences.
Sets the match mode for the filter.
Sets the string to search for.
Notifies all users of the filter that it has changed.
Gets the known strictness of filters.
Checks if the given item is matched by the filter or not.
Connect to Changed signal.
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.