win.minimize()

用途:Windows/Mac中最小化窗口 , Linux中图标化窗口