how to make python3.3 gui window fixed sizes?
Question: as for the question mentioned, i cant find any code which can fixed the gui
window and positions of all the labels, buttons etc..

    
    
    import tkinter
    import tkinter.messagebox
    
    class Menu:
        def __init__(self):
    
            self.main = tkinter.Tk(height = 200, width = 400)
    
            self.position = tkinter.Label(self.main, text = '123',\
                                          bg = 'Purple',\
                                          height = 2, width = 8)
            self.position.place(height=50, width= 100)
    
            self.position.pack()
    
            tkinter.mainloop()
    
    gui = Menu()
    

for this, i can only do the sizing of the label, not the position and the size
of the main window. it gives this error

    
    
    Traceback (most recent call last):
      File "C:\Python33\Saves\Label position.py", line 18, in <module>
        gui = Menu()
      File "C:\Python33\Saves\Label position.py", line 7, in __init__
        self.main = tkinter.Tk(height = 200, width = 400)
    TypeError: __init__() got an unexpected keyword argument 'height'
    


Answer: It looks like you cannot set the width and height of the Tk element in the
constructor. However, you can use the `geometry` method:

    
    
    self.main = tkinter.Tk()
    self.main.geometry("400x200")
    

