ListBoxCreateWidgetFunc


Description:

[ 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.

Parameters:

item

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

user_data

user data

Returns:

a Widget that represents item


Namespace: Gtk
Package: gtk+-3.0