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 returnTrue
for still returnTrue
, others now may, too.GTK_FILTER_CHANGE_MORE_STRICT
; The filter is more strict than it was before: All items that it used to returnFalse
for still returnFalse
, 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 returnTrue
orFalse
GTK_FILTER_MATCH_NONE
; The filter does not match any item,.match()
will always returnFalse
.GTK_FILTER_MATCH_ALL
; The filter matches all items,.match()
will alays returnTrue
.