Как я могу добавить флажок в ttk Treeview - PullRequest
0 голосов
/ 25 апреля 2018

Я очень долго искал этот ответ, потом я узнал, что мы не можем встраивать виджеты в Treeview, но я нашел особенности Treeview.В этом ниже Особенности Это говорит о том, что Treeview также будет поддерживать включение флажка.

Вот список функций TreeView:

Auto-sizing column widths and row heights.
Hide/move columns or nodes.
Sortable by columns or sub-trees.
External data storage (in a blt::tree).
Multiple TreeViews can share all a tree.
Easy to use dynamic loading (for sub-trees).
Support for multiple style types, including:
    -> textbox: text cell with optional images.
    *-> checkbox: a boolean value.*
    -> combobox: a multi-choice value.
    -> barbox: numeric value with progress bar.
    -> windowbox: arbitrary embedded windows. 
Styles can be applied to cols, rows and/or cells
The -altstyle option for alternating rows (bgcolor, etc).
The -levelstyles option for per-level styles.
Background image-tile: widget, columns, and cell-styles.
Drop shadow text.
Powerful builtin cell editing.
Dual mode display: flat and tree. 
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...