tkinter.ttk.Treeview.prev()

prev(item) Returns the identifier of item‘s previous sibling, or ‘’ if item is the first child of its parent.

tkinter.ttk.Treeview.parent()

parent(item) Returns the ID of the parent of item, or ‘’ if item is at the top level of the hierarchy.

tkinter.ttk.Treeview.next()

next(item) Returns the identifier of item‘s next sibling, or ‘’ if item is the last child of its parent.

tkinter.ttk.Treeview.move()

move(item, parent, index) Moves item to position index in parent‘s list of children. It is illegal to move an item under one of its descendants. If index is less than or equal to zero, item is moved to the beginning; if greater than or equal to the number of children, it is moved to the end. If item was detached it is reattached.

tkinter.ttk.Treeview.item()

item(item, option=None, **kw) Query or modify the options for the specified item. If no options are given, a dict with options/values for the item is returned. If option is specified then the value for that option is returned. Otherwise, sets the options to the corresponding values as given by kw.

tkinter.ttk.Treeview.insert()

insert(parent, index, iid=None, **kw) Creates a new item and returns the item identifier of the newly created item. parent is the item ID of the parent item, or the empty string to create a new top-level item. index is an integer, or the value “end”, specifying where in the list of parent’s children to insert the new item. If index is less than or equal to zero, the new node is inserted at the beginning; if index is greater than or equal to the current number of children, it is inserted at t

tkinter.ttk.Treeview.index()

index(item) Returns the integer index of item within its parent’s list of children.

tkinter.ttk.Treeview.identify_row()

identify_row(y) Returns the item ID of the item at position y.

tkinter.ttk.Treeview.identify_region()

identify_region(x, y) Returns one of: region meaning heading Tree heading area. separator Space between two columns headings. tree The tree area. cell A data cell. Availability: Tk 8.6.

tkinter.ttk.Treeview.identify_element()

identify_element(x, y) Returns the element at position x, y. Availability: Tk 8.6.