Interface ListBox.OnListBoxFilterFunc

Enclosing class:
ListBox
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 ListBox.OnListBoxFilterFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Will be called whenever the row changes or is added and lets you control
    if the row should be visible or not.
  • Method Details

    • onListBoxFilterFunc

      boolean onListBoxFilterFunc(CallbackHandler __self, @Nonnull ListBoxRow row, @Nullable Pointer user_data)
      Will be called whenever the row changes or is added and lets you control
      if the row should be visible or not.
      Parameters:
      row - the row that may be filtered
      user_data - user data
      Returns:
      %TRUE if the row should be visible, %FALSE otherwise