Package ch.bailu.gtk.gtk
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.
-
Method Summary
Modifier and TypeMethodDescriptionintonFlowBoxSortFunc(CallbackHandler __self, FlowBoxChild child1, FlowBoxChild child2, Pointer user_data) A function to compare two children to determine which
should come first.
-
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 childchild2- the second childuser_data- user data- Returns:
- < 0 if @child1 should be before @child2, 0 if the are equal, and > 0 otherwise
-