Terry J. Reedy added the comment:
Thank you Eryk. The X/Ubuntu behavior is what I want to simulate. I can only
wonder why tk has not fixed that for non-X systems. Are Alt+letter
combinations also fixed on Ubuntu, so that, for instance, Alt+M-key is seen as
Alt-M even with Russian layout?
Eryk Sun added the comment:
I think the following wiki article still applies even though it was first
discussed in 2003: "KeySyms on platforms other than X11" [1]. In particular, it
states the following:
On Windows and MacOS X Tk only supports keysyms correctly for a
limited number o
Eryk Sun added the comment:
The alternate keyboard shortcuts for the clipboard work fine with a Russian
keyboard layout:
copy: Ctrl+Insert
cut: Shift+Delete
paste: Shift+Insert
Some programs also support Alt+Backspace for undo (Ctrl+Z). Watch out with
Shift+Delete in GUI shells, si
Terry J. Reedy added the comment:
I closed #31244 as a duplicate of this.
The modifier code for tkinter.Event.__repr__ can be used to construct the
modifier part of the reconstructed event sequence. Just join with '-' instead
of '|'.
--
title: Ctrl+C, C+V in tk.Text on Windows do n