Widget.observeChildren

gio.list_model.ListModel observeChildren()

Returns a [gio.list_model.ListModel] to track the children of widget.

Calling this function will enable extra internal bookkeeping to track children and emit signals on the returned listmodel. It may slow down operations a lot.

Applications should try hard to avoid calling this function because of the slowdowns.

Returns

a [gio.list_model.ListModel] tracking widget's children