removeChild

open fun removeChild(child: ScreenObject?)

Removes a direct child and invalidates the layout. Ignores null and objects owned by other containers.