Causes a widget to be unmapped if it’s currently mapped.
This function is only for use in widget implementations.