FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Wrap the enhanced ttk::treeview (Tk 9.1) widget commands in tkinter · Issue #151910 · python/cpython · GitHub

Repository navigation

Wrap the enhanced ttk::treeview (Tk 9.1) widget commands in tkinter #151910

Closed

Description

Tk 9.1 greatly enhanced ttk::treeview (TIP 740) with many new widget subcommands — view-order navigation, item queries, open/hide/sort/search operations, and cell focus, selection and tagging. Tk 9.0 added the treeview detached query. None of these are exposed by tkinter.ttk.Treeview.

Add wrapper methods for them:

Navigation and queries (Tk 9.1): after_item, before_item, depth, haschildren, visible, size, range, identifier, current.

Open / hide / sort / search (Tk 9.1): expand, collapse, hide, unhide, sort, search, search_all, search_cell, search_all_cells.

Cells (Tk 9.1): cellfocus, cellselection and cellselection_set/add/remove (cell lists), cellselection_set_range/add_range/remove_range (rectangles), cellselection_anchor/includes/present, and tag_cell_add/remove/has.

Detached query (Tk 9.0): detached, detached_all.

These require Tk 9.1 (or 9.0 for detached), tested with a locally built Tcl/Tk 9.1.

Linked PRs

Activity

  1. added 5 commits that reference this issue on Jun 22, 2026
  2. terryjreedy commented on Jun 22, 2026

    Member

    Should (can) we upgrade to 9.1 at least for 3.16? 3.15

  3. serhiy-storchaka commented on Jun 22, 2026

    MemberAuthor

    The current version is 9.1b0. It has not been released yet.

  4. added a commit that references this issue on Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL