Python Tkinter Treeview Get Values

Sunday, 7 March 2010, 4,298


>>>self.allrow.bind("",self.myFunc)
>>>def myFunc(self,event):
allrow=allrow.mytreeview.item(self.mytreeview.selection())
print(allrow)
print(allrow["values"][0])
{'text': '8', 'image': '', 'values': ['KARDAN ADAM', 'http://www.m-eken.com'], 'open': 0, 'tags': ''}
Aruz
>>>


Leave a comment
Name(required)
Mail (will not be publishing) (required)
Website