Interface AttrList.OnAttrFilterFunc

Enclosing class:
AttrList
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 AttrList.OnAttrFilterFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onAttrFilterFunc(CallbackHandler __self, Attribute attribute, Pointer user_data)
    Type of a function filtering a list of attributes.
  • Method Details

    • onAttrFilterFunc

      boolean onAttrFilterFunc(CallbackHandler __self, @Nonnull Attribute attribute, @Nullable Pointer user_data)
      Type of a function filtering a list of attributes.
      Parameters:
      attribute - a Pango attribute
      user_data - user data passed to the function
      Returns:
      %TRUE if the attribute should be selected for filtering, %FALSE otherwise.