Widget.unparent

void unparent()

Dissociate widget from its parent.

This function is only for use in widget implementations, typically in dispose.