Declaration
(gobject:define-genum "GtkFilterChange" filter-change
(:export t
:type-initializer "gtk_filter_change_get_type")
:different
:less-strict
:more-strict) Values - :different
- The filter change cannot be described with any of the other enumeration values.
- :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.
- :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.
- :different-rewatch
- Similar to :different,
but signs that item watches should be recreated. This is used by the gtk:filter-list-model object to keep the list up-to-date when items change. Since 4.20
- :less-strict-rewatch
- Similar to :less-strict, but signs that item watches should be recreated. This is used by the gtk:filter-list-model object to keep the list up-to-date when items change. Since 4.20
- :more-strict-rewatch
- Similar to :more-strict, but signs that item watches should be recreated. This is used by the gtk:filter-list-model object to keep the list up-to-date when items change. Since 4.20
Details
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, the :different value is always a correct choice. |
| See also |