ttk.Treeview.set

Treeview.set(item, column=None, value=None)[source]

Query or set the value of given item.

With one argument, return a dictionary of column/value pairs for the specified item. With two arguments, return the current value of the specified column. With three arguments, set the value of given column in given item to the specified value.