Enumeration (GI Enum)

Gtk-4.0GtkFilterChange

Describes changes in a filter in more detail and allows objects using the filter to optimize refiltering items.

If you are writing an implementation and are not sure which value to pass, GTK_FILTER_CHANGE_DIFFERENT is always a correct choice.

New values may be added in the future.

Index

Enumeration Members

DIFFERENT: number

The filter change cannot be described with any of the other enumeration values

DIFFERENT_REWATCH: number

Similar to Gtk.FilterChange.DIFFERENT, but signs that item watches should be recreated. This is used by Gtk.FilterListModel to keep the list up-to-date when items change.

LESS_STRICT: number

The filter is less strict than it was before: All items that it used to return true still return true, others now may, too.

LESS_STRICT_REWATCH: number

Similar to Gtk.FilterChange.LESS_STRICT, but signs that item watches should be recreated. This is used by Gtk.FilterListModel to keep the list up-to-date when items change.

MORE_STRICT: number

The filter is more strict than it was before: All items that it used to return false still return false, others now may, too.

MORE_STRICT_REWATCH: number

Similar to Gtk.FilterChange.MORE_STRICT, but signs that item watches should be recreated. This is used by Gtk.FilterListModel to keep the list up-to-date when items change.