Package: gtk

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

Syntax

lambda (object) => result

Arguments

object -- a g:object instance for the item from the model for which to create a widget for
result -- a gtk:widget object that represents item

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. If the widget returned is not a gtk:list-box-row widget, then the widget will be inserted as the child of an intermediate gtk:list-box-row widget.
 

See also

#2024-4-15