public void bind_model (ListModel? model, owned ActorCreateChildFunc create_child_func)
The existing children of Actor are destroyed when setting a model, and new children
are created and added, representing the contents of the
model. The Actor
is updated whenever the
model changes. If
Actor is left empty.
When a Actor is bound to a model, adding and removing children directly is undefined behaviour.
a function that creates Actor instances from the contents of the
function called when unsetting the
user data passed to