| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Documentation build overview6 files changed · ± 6 modified ± Modified |
Sorry, something went wrong.
…nced treeview Wrap the enhanced ttk::treeview widget commands added in Tk 9.1 (TIP 740), and the detached query added in Tk 9.0, as tkinter.ttk.Treeview methods: item navigation and queries (after_item, before_item, depth, haschildren, visible, size, range, identifier, current), opening, hiding, sorting and searching (expand, collapse, hide, unhide, sort, search, search_all, search_cell, search_all_cells), cell focus, selection and tagging (cellfocus, cellselection and its set/add/remove cell-list and *_range rectangle forms, anchor/includes/present, tag_cell_add/remove/has), and the detached query (detached, detached_all). The expand() and collapse() methods, without recurse, also work on Tk older than 9.1, where they are emulated via the item -open option. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XWevzas4XVpjzedzR9gKVo
detached_all() and the ancestor-aware detached() query require Tk 9.1. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XWevzas4XVpjzedzR9gKVo
# Conflicts: # Doc/whatsnew/3.16.rst
…lias Treeview.size overrides the inherited size = grid_size alias, like Treeview.bbox overrides grid_bbox. Mark it with an "overrides Misc.size" comment and list ttk.Treeview alongside Listbox in the documentation of the size/grid_size alias. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…nced treeview (pythonGH-151911) Wrap the enhanced ttk::treeview widget commands added in Tk 9.1 (TIP 740), and the detached query added in Tk 9.0, as tkinter.ttk.Treeview methods: item navigation and queries (after_item, before_item, depth, haschildren, visible, size, range, identifier, current), opening, hiding, sorting and searching (expand, collapse, hide, unhide, sort, search, search_all, search_cell, search_all_cells), cell focus, selection and tagging (cellfocus, cellselection and its set/add/remove cell-list and *_range rectangle forms, anchor/includes/present, tag_cell_add/remove/has), and the detached query (detached, detached_all). The expand() and collapse() methods, without recurse, also work on Tk older than 9.1, where they are emulated via the item -open option. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
Wrap the enhanced ttk::treeview widget commands added in Tk 9.1 (TIP 740), and the detached query added in Tk 9.0, as :class:tkinter.ttk.Treeview methods.
Item navigation and queries: after_item, before_item, depth, haschildren, visible, size, range, identifier, current.
Opening, hiding, sorting and searching: expand, collapse, hide, unhide, sort, search, search_all, search_cell, search_all_cells.
Cell focus, selection and tagging: cellfocus, cellselection with the set/add/remove cell-list and *_range rectangle forms, cellselection_anchor/includes/present, and tag_cell_add/remove/has.
Detached query: detached, detached_all.
The new methods require Tk 9.1 (or 9.0 for detached). They were tested against a locally built Tcl/Tk 9.1; the new tests are gated with requires_tk and run on buildbots that have a recent enough Tk.
🤖 Generated with Claude Code
https://claude.ai/code/session_01XWevzas4XVpjzedzR9gKVo