Go to the source code of this file.
◆ GTK_TYPE_FILTER
#define GTK_TYPE_FILTER (gtk_filter_get_type ()) |
◆ GtkFilterChange
GtkFilterChange: @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.
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.
Enumerator |
---|
GTK_FILTER_CHANGE_DIFFERENT | |
GTK_FILTER_CHANGE_LESS_STRICT | |
GTK_FILTER_CHANGE_MORE_STRICT | |
Definition at line 69 of file gtkfilter.h.
69 {
@ GTK_FILTER_CHANGE_MORE_STRICT
@ GTK_FILTER_CHANGE_LESS_STRICT
@ GTK_FILTER_CHANGE_DIFFERENT
◆ GtkFilterMatch
GtkFilterMatch: @GTK_FILTER_MATCH_SOME: The filter matches some items, gtk_filter_match() may return TRUE or FALSE @GTK_FILTER_MATCH_NONE: The filter does not match any item, gtk_filter_match() will always return FALSE. @GTK_FILTER_MATCH_ALL: The filter matches all items, gtk_filter_match() will alays return TRUE.
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.
Enumerator |
---|
GTK_FILTER_MATCH_SOME | |
GTK_FILTER_MATCH_NONE | |
GTK_FILTER_MATCH_ALL | |
Definition at line 45 of file gtkfilter.h.
◆ gtk_filter_changed()
◆ gtk_filter_get_strictness()
◆ gtk_filter_match()