Custom class that acts similar to a listbox, but supports a columned view and the ability to sort by columns of data.

Inheritance diagram of tools.treelistbox
class TreeListBox(root, headers)[source]

Class that internally handles a TreeView widget which creates a columned view of the information from the database


Redisplay any information updated in self.list to the screen

sort_by(tree, col, descending)[source]

Sorts the treeview by the column clicked by the user

  • tree (Treeview) – The tree object to sort
  • col (str) – The column to sort
  • descending (bool) – Boolean value to switch between sorting from ascending or descending