minimize root tkinter code example Example: how to minimize tkinter window import Tkinter w = Tkinter.Tk() w.wm_state('iconic') #or w.iconify()