Treeview with Checkboxes in Python - ability to right click on Tree and add any number of parent and child nodes

107 Views Asked by At

I am wanting to create a treeview in Python where I can right click on the tree and add to it at any point a parent or child node and I can keep populating the tree with parent and children checkboxes.

The parent checkboxes would be partially checked if some of the children checkboxes are checked if all the children are checked the parent would be fully checked.

There would be an unlimited number of parent and children checkboxes going several levels deep.

A report could be run that summarizes what parents and or children are checked it would report the structure as it is i.e. parent>child>child>child

How can I accomplish this? Would I use tix or ttk or is there something else better suited ?

0

There are 0 best solutions below