title: How to force deiconify to restore tkinter root window to original size?
body: <p>I need to temporarily hide my tkinter root window while a certain lenghty process is executed. I understand <code>withdraw</code> and <code>deiconify</code> can be used for this purpose. My code starts with</p>
  <pre><code>root=Tk()
  root.wm_title(&quot;Root Window&quot;)
  root.geometry('1500x1000')
  root.withdraw()
  </code></pre>
  <p>When my process concludes, I want the root window to appear after which I will create a new frame within it. The command <code>deiconify</code> reproduces my root window with default dimensions, not those given above. I then tried</p>
  <pre><code>root.deiconify()
  root.geometry('1500x1000')
  </code></pre>
  <p>This restores my root window to its original size, but there is a brief flicker when the root first appears in default size before switching to the desired geometry. It's that flicker I'm trying to eliminate. It could be that the problem stems from the lengthy process carried out between the <code>withdraw</code> and <code>deiconify</code>, but I'm wondering if there's a quick fix.</p>