what to do when window is minimized tkinter code example
Example: how to minimize tkinter window
import Tkinter
w = Tkinter.Tk()
w.wm_state('iconic')
#or
w.iconify()
import Tkinter
w = Tkinter.Tk()
w.wm_state('iconic')
#or
w.iconify()