Interface FlowBox.OnFlowBoxSortFunc

Enclosing class:
FlowBox
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 FlowBox.OnFlowBoxSortFunc
  • Method Details

    • onFlowBoxSortFunc

      int onFlowBoxSortFunc(CallbackHandler __self, @Nonnull FlowBoxChild child1, @Nonnull FlowBoxChild child2, @Nullable Pointer user_data)
      A function to compare two children to determine which
      should come first.
      Parameters:
      child1 - the first child
      child2 - the second child
      user_data - user data
      Returns:
      < 0 if @child1 should be before @child2, 0 if the are equal, and > 0 otherwise