enthought / enthought/traitsui

Tree of checkboxes - any examples?

Open
#1,995 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Hello,
I want to make a tree of check boxes, that looks like this:

All types [ ]
|
|-Type A [ ]
| |
| A1 [ ]
| A2 [ ]
| A3 [ ]
|-Type B [ ]
| |
| B1 [ ]
| B2 [ ]
|- Type C [ ]

If 'All types' is checked, then all sub-checkboxes are checked
If 'Type A' is checked, then all sub-checkboxes (i.e. A1,A2 ..) are checked

I eventually want these checkboxes to control the individual and grouped visibility of sets of points3d objects, held in a list.

Can anyone point me to an example of how to do this with TreeEditor?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.