Package ch.bailu.gtk.gtk
Interface MapListModel.OnMapListModelMapFunc
- Enclosing class:
- MapListModel
- 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 TypeMethodDescriptiononMapListModelMapFunc
(CallbackHandler __self, Pointer item, Pointer user_data) User function that is called to map an @item of the original model to
an item expected by the map model.
-
Method Details
-
onMapListModelMapFunc
Pointer onMapListModelMapFunc(CallbackHandler __self, @Nonnull Pointer item, @Nullable Pointer user_data) User function that is called to map an @item of the original model to
an item expected by the map model.
The returned items must conform to the item type of the model they are
used with.- Parameters:
item
- The item to mapuser_data
- user data- Returns:
- The item to map to
-