title: Python/tkinter - How do I get the window size including borders on Windows?
body: <p>I'm trying to position my window based on with width and height of the window. On Windows, the window size reported by <code>wm_geometry</code>, <code>winfo_width</code> and <code>winfo_height</code> is the size of the <em>client area</em>, i.e. the window size without the borders. The position of the window, as reported by  <code>wm_geometry</code>, <code>winfo_x</code> and <code>winfo_y</code>, and the position set using <code>wm_geometry</code>, is the position of the top left point of the window <em>including</em> the border.</p>
  
  <p>This means that when I try to center the window on the screen, the position is visibly too low on the screen.</p>
  
  <p>I don't want to hard-code the border thickness since it can vary.</p>
  
  <p>Is it possible to get or infer the size of the window border on Windows using Python/tkinter?</p>