title: Tkinter resizable attribute ignored on windows Vista when a menu is added to the window
body: <p>I'm fairly new to Python and am just discovering GUI programming with Tkinter.</p>
  
  <p>My goal is to have a window (root) be resizable only in height and not in width. I looked it up on SO and google and found this: <code>root.resizable(width=False, height=True)</code></p>
  
  <p>It works fine on its own, even when I add widgets to the root, but as soon as I add a menu to the root, the root window becomes resizable in width, even if I reconfigure it with <code>root.resizable(width=False, height=True)</code> after adding the menu.</p>
  
  <p><strong>Edit 1</strong>: I should mention that setting both parameters to <code>False</code> makes the window <strong>non-resizable</strong>, as it should be. So it partially works.</p>
  
  <p>Here's a sample code to help you test the problem (simply maximize the Tk window to see how both behave):</p>
  
  <p>This code works as intended:</p>
  
  <pre><code>from Tkinter import Tk, Menu
  root = Tk()
  root.resizable(width=False, height=True)
  root.mainloop()
  </code></pre>
  
  <p>This code doesn't:</p>
  
  <pre><code>from Tkinter import Tk, Menu
  root = Tk()
  root.resizable(width=False, height=True) # moving this just before the mainloop() call doesn't change a thing
  menubar=Menu(root)
  root.config(menu=menubar)
  root.mainloop()
  </code></pre>
  
  <p>I kept the examples as simple as possible but the behavior of the first code doesn't change if I add widgets to root. The behavior of the second code doesn't change either if I add items to the menu, and/or widgets to root.</p>
  
  <p>I'm running Python 2.7 on IDLE, on Windows Vista 32bit. I'm using Tkinter version 8.5</p>
  
  <p><strong>Edit 2</strong>: Thanks to the help of Lafexlos and Marcin, it has been made fairly obvious that Vista is somewhat responsible for the problem (or, at least, the way Tkinter operates with Vista). I have therefore reformulated the question and added a Vista tag to help future SO users.</p>
  
  <p>Thanks for any help in understanding why the second piece of code doesn't work and what I should do to make it work.</p>
  
  <p>PS: let me know if I can provide any more info to help you help me ;-)</p>