visual ->destroy: Invokes object->free
on the visual and all parts of this visual that are not protected. This
method may be used to destroy an entire tree of
visual objects.
First, it collects all visuals that are part of it and not protected
or part of a protected visual using visual<-contains.
Then it will send free to all collected visuals. This method takes care
of the fact that freeing one visual might result in the destruction of
others.
- See also
- - object
->free
- visual<-contains
- object->protect
- window->destroy