Package: gtk

Callback gtk-list-box-create-widget-func

Details

Called for list boxes that are bound to a g-list-model object with the gtk-list-box-bind-model function for each item that gets added to the model.

Versions of GTK prior to 3.18 called the gtk-widget-show-all function on the rows created by the gtk-list-box-create-widget-func callback function, 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.
 lambda (item)  
item
A pointer to the item from the model for which to create a widget for.
Returns
A gtk-widget object that represents item.
 

See also

2021-11-16