def METHOD_NAME(cls):
    cls._old_support_default_root = tkinter._support_default_root
    destroy_default_root()
    tkinter.NoDefaultRoot()
    cls.root = tkinter.Tk()
    cls.wantobjects = cls.root.wantobjects()
    # De-maximize main window.
    # Some window managers can maximize new windows.
    cls.root.wm_state('normal')
    try:
        cls.root.wm_attributes('-zoomed', False)
    except tkinter.TclError:
        pass