Interface Filter.OnChanged

Enclosing class:
Filter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Filter.OnChanged
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onChanged(int change)
    Emitted whenever the filter changed.
  • Method Details

    • onChanged

      void onChanged(int change)
      Emitted whenever the filter changed.

      Users of the filter should then check items again via
      [method@Gtk.Filter.match].

      `GtkFilterListModel` handles this signal automatically.

      Depending on the @change parameter, not all items need
      to be checked, but only some. Refer to the [enum@Gtk.FilterChange]
      documentation for details.
      Parameters:
      change - how the filter changed