Package org.gnome.gtk

Class StringFilter

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class StringFilter extends Filter
GtkStringFilter determines whether to include items by comparing strings to a fixed search term.

The strings are obtained from the items by evaluating a GtkExpression set with setExpression(org.gnome.gtk.Expression), and they are compared against a search term set with setSearch(java.lang.String).

GtkStringFilter has several different modes of comparison - it can match the whole string, just a prefix, or any substring. Use setMatchMode(org.gnome.gtk.StringFilterMatchMode) choose a mode.

It is also possible to make case-insensitive comparisons, with setIgnoreCase(boolean).