python treeview column "stretch=False" not working
Question: I want to disable column resize, but "stretch = False" is not working, I don't
know why, my python version 3.4.3 .

    
    
    from tkinter import *
    from tkinter import ttk
    
    def main():
        gMaster = Tk()
        w = ttk.Treeview(gMaster, show="headings", columns=('Column1', 'Column2'))
        w.heading('#1', text='Column1', anchor=W)
        w.heading('#2', text='Column2', anchor=W)
    
        w.column('#1', minwidth = 70, width = 70, stretch = False)
        w.column('#2', minwidth = 70, width = 70, stretch = False)
        w.grid(row = 0, column = 0)
        mainloop()
    
    if __name__ == "__main__":  
        main()
    


Answer: Try adding this before mainloop()

    
    
    gMaster.resizable(0,0)
    

You don't need stretch = False

