Package: gtk
Class gtk:map-list-model
SuperclassesDocumented Subclasses
None
Direct SlotsDetails The gtk:map-list-model object is a list model that takes a list
model and maps the items in that model to different items according to a gtk:map-list-model-map-func callback function. Examples
(let* (...
(widgets (gtk:widget-observe-children widget))
(controllers (gtk:map-list-model-new widgets
(lambda (item)
(gtk:widget-observe-controllers item))))
(model (gtk:flatten-list-model-new controllers)))
... ) The gtk:map-list-model object will attempt to discard the mapped
objects as soon as they are no longer needed and recreate them if necessary. | Returned bySlot Access Functions
Inherited Slot Access FunctionsSee also |
2025-07-26