FilterChange#

class FilterChange#

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.

Fields#

class FilterChange
DIFFERENT#

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

DIFFERENT_REWATCH#

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

Added in version 4.20.

LESS_STRICT#

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#

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

Added in version 4.20.

MORE_STRICT#

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#

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

Added in version 4.20.