ListBoxCreateWidgetFunc

typealias ListBoxCreateWidgetFunc = (<Error class: unknown class>) -> Widget

Called for list boxes that are bound to a GListModel with gtk_list_box_bind_model() for each item that gets added to the model.

If the widget returned is not a #GtkListBoxRow widget, then the widget will be inserted as the child of an intermediate #GtkListBoxRow.

  • param item the item from the model for which to create a widget for

  • return a GtkWidget that represents @item