Skip to content

Add tkinter Canvas methods rotate and rchars #151876

Closed

Description

@serhiy-storchaka

Two Tk canvas widget commands have no tkinter wrapper and are currently reachable only through tk.call().

  • rchars (since Tk 8.6) replaces the characters (for text items) or coordinates (for line and polygon items) in a given index range with a new value, complementing the already wrapped dchars and insert.
  • rotate (new in Tk 9.0) rotates the coordinates of items about an origin by a given angle, complementing the already wrapped move and scale.

I propose to add the corresponding Canvas.rchars() and Canvas.rotate() methods.

Linked PRs

Activity

  1. added a commit that references this issue on Jun 21, 2026
  2. added a commit that references this issue on Jun 22, 2026
  3. 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