Cause win to become "window-shaded". That is, to roll up into just a titlebar. By default, the change takes place instantaneously. win defaults to the window context in the usual way if not specified. See also window-unshade. A shaded window has the "WM_STATE" hint set to WithdrawnState, since the client application window is not visible.