[ CCode ( instance_pos = 1.9 ) ]
[ Version ( since = "3.16" ) ]
public delegate Widget ListBoxCreateWidgetFunc (Object item)
Called for list boxes that are bound to a ListModel with bind_model for each item that gets added to the model.
Versions of GTK+ prior to 3.18 called show_all on the rows created by the GtkListBoxCreateWidgetFunc, but this forced all widgets inside the row to be shown, and is no longer the case. Applications should be updated to show the desired row widgets.
item |
the item from the model for which to create a widget for |
user_data |
user data |
a Widget that represents |