StringFilter


Object Hierarchy:

Gtk.StringFilter Gtk.StringFilter Gtk.StringFilter Gtk.Filter Gtk.Filter Gtk.Filter->Gtk.StringFilter GLib.Object GLib.Object GLib.Object->Gtk.Filter

Description:

[ CCode ( type_id = "gtk_string_filter_get_type ()" ) ]
public class StringFilter : 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 [[email protected]_expression], and they are compared against a search term set with [[email protected]_search].

`GtkStringFilter` has several different modes of comparison - it can match the whole string, just a prefix, or any substring. Use [ [email protected]_match_mode] choose a mode.

It is also possible to make case-insensitive comparisons, with [[email protected]_ignore_case].


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.Filter
All known members inherited from class GLib.Object



2022 vala-language.org