Interface TextIter.OnTextCharPredicate

Enclosing class:
TextIter
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 TextIter.OnTextCharPredicate
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onTextCharPredicate(CallbackHandler __self, byte ch, Pointer user_data)
    The predicate function used by gtk_text_iter_forward_find_char() and
    gtk_text_iter_backward_find_char().
  • Method Details

    • onTextCharPredicate

      boolean onTextCharPredicate(CallbackHandler __self, byte ch, @Nullable Pointer user_data)
      The predicate function used by gtk_text_iter_forward_find_char() and
      gtk_text_iter_backward_find_char().
      Parameters:
      ch - a Unicode code point
      user_data - data passed to the callback
      Returns:
      %TRUE if the predicate is satisfied, and the iteration should stop, and %FALSE otherwise