Pat Thoyts added the comment:
So if you look at the clamTheme.tcl file you can see the definition of the map
for the TNotebook.Tab style looks like the following:
ttk::style map TNotebook.Tab \
-padding [list selected {6 4 6 2}] \
-background [list selected $colors(-frame
Pat Thoyts added the comment:
The Tk documentation for the acceptable cursor names is the cursors manual
page. https://www.tcl.tk/man/tcl/TkCmd/cursors.htm
Tk does not provide a way to get all these names in script.
This should probably be closed.
--
nosy: +patthoyts
Change by Pat Thoyts :
--
keywords: +patch
nosy: +Pat Thoyts
nosy_count: 1.0 -> 2.0
pull_requests: +22138
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23241
___
Python tracker
<https://bugs.python.org/i
New submission from Pat Thoyts :
When cloning a ttk style it is useful to copy an existing style and make
changes. We can copy the configuration and layout using:
style.layout('Custom.TEntry', **style.layout('TEntry'))
style.configure('Custom.TEntry
Pat Thoyts added the comment:
As explained in the SO answer, in Tk on Windows the messagebox, file open
dialog, save as dialog and in 8.6 up the font dialog are all system standard
dialogs. Tk gets Windows to show the common dialog or messagebox and just wraps
the Win32 API calls. As a result