:right-sidebar: True FilterChange =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: FilterChange :no-contents-entry: 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 ------ .. rst-class:: interim-class .. class:: FilterChange :no-index: .. attribute:: DIFFERENT The filter change cannot be described with any of the other enumeration values .. attribute:: DIFFERENT_REWATCH Similar to :obj:`~gi.repository.Gtk.FilterChange.DIFFERENT`\, but signs that item watches should be recreated. This is used by :obj:`~gi.repository.Gtk.FilterListModel` to keep the list up-to-date when items change. .. versionadded:: 4.20 .. attribute:: 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. .. attribute:: LESS_STRICT_REWATCH Similar to :obj:`~gi.repository.Gtk.FilterChange.LESS_STRICT`\, but signs that item watches should be recreated. This is used by :obj:`~gi.repository.Gtk.FilterListModel` to keep the list up-to-date when items change. .. versionadded:: 4.20 .. attribute:: 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. .. attribute:: MORE_STRICT_REWATCH Similar to :obj:`~gi.repository.Gtk.FilterChange.MORE_STRICT`\, but signs that item watches should be recreated. This is used by :obj:`~gi.repository.Gtk.FilterListModel` to keep the list up-to-date when items change. .. versionadded:: 4.20