About all my projects
Gnome::Gtk4::T-filter

Gnome::Gtk4::T-filter

Enumerations

GtkFilterChange

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.

  • GTK_FILTER_CHANGE_DIFFERENT; The filter change cannot be described with any of the other enumeration values.

  • GTK_FILTER_CHANGE_LESS_STRICT; The filter is less strict than it was before: All items that it used to return True for still return True, others now may, too.

  • GTK_FILTER_CHANGE_MORE_STRICT; The filter is more strict than it was before: All items that it used to return False for still return False, others now may, too.

GtkFilterMatch

Describes the known strictness of a filter.

Note that for filters where the strictness is not known, GTK_FILTER_MATCH_SOME is always an acceptable value, even if a filter does match all or no items.

  • GTK_FILTER_MATCH_SOME; The filter matches some items, .match() may return True or False

  • GTK_FILTER_MATCH_NONE; The filter does not match any item, .match() will always return False.

  • GTK_FILTER_MATCH_ALL; The filter matches all items, .match() will alays return True.