Package ch.bailu.gtk.gtk
Interface FlowBox.OnFlowBoxCreateWidgetFunc
- 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 TypeMethodDescriptiononFlowBoxCreateWidgetFunc
(CallbackHandler __self, Pointer item, Pointer user_data) Called for flow boxes that are bound to a `GListModel`.
-
Method Details
-
onFlowBoxCreateWidgetFunc
Widget onFlowBoxCreateWidgetFunc(CallbackHandler __self, @Nonnull Pointer item, @Nullable Pointer user_data) Called for flow boxes that are bound to a `GListModel`.
This function is called for each item that gets added to the model.- Parameters:
item
- the item from the model for which to create a widget foruser_data
- user data from gtk_flow_box_bind_model()- Returns:
- a `GtkWidget` that represents @item
-