I want to add three columns to my Treeview and name them \'Varenavn\',\'Antall\',\'Best før\'. I tried the following:
self.tree = ttk.Treeview (height = 10, colu
For example you need to specify
self.tablex=ttk.Treeview(heigh=10,columns=("#0","#1","#2","#3"))
and later
self.tablex.heading('#0',text='Text0') self.tablex.heading('#1',text='Text1') self.tablex.heading('#2',text='Text2') self.tablex.heading('#3',text='Text3')