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.

@FunctionalInterface public static interface FlowBox.OnFlowBoxCreateWidgetFunc
  • 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 for
      user_data - user data from gtk_flow_box_bind_model()
      Returns:
      a `GtkWidget` that represents @item