Package ch.bailu.gtk.gtk
Schnittstelle FlowBox.OnFlowBoxSortFunc
- Umschließende Klasse:
FlowBox
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
onFlowBoxSortFunc
(CallbackHandler __self, FlowBoxChild child1, FlowBoxChild child2, Pointer user_data) A function to compare two children to determine which
should come first.
-
Methodendetails
-
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.- Parameter:
child1
- the first childchild2
- the second childuser_data
- user data- Gibt zurück:
- < 0 if @child1 should be before @child2, 0 if they are equal, and > 0 otherwise
-