cara mendapatkan data di treeview di tkiter

def getdata():
    x=treeview.selection()
    y=treeview.item(x)['values']
    print(y)
DarkCode