ListBoxCreateWidgetFunc


Description:

[ CCode ( instance_pos = 1.9 ) ]
public delegate Widget ListBoxCreateWidgetFunc (Object item)

Called for list boxes that are bound to a `GListModel` with bind_model for each item that gets added to the model.

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

Parameters:

item

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

user_data

user data

Returns:

a `GtkWidget` that represents item


Namespace: Gtk
Package: gtk4