Tk Source Code

Check-in [bfa641b9]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix for [3414673fff]: Improper look of ttk::checkbutton -style Toolbutton.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: bfa641b9a2634cb5c5636fa2d9b17803f1efa5eab547c6d46997ab413a29cb18
User & Date: csaba 2026-10-02 16:48:22.937
References
2026-10-02
18:59 • Closed ticket [3414673f]: Improper look of ttk::checkbutton -style Toolbutton plus 8 other changes artifact: a22eb82b user: nemethi
Context
2026-10-02
19:41
Take the window manager decorations into account in test event-c3f5c85322 check-in: 7517b793 user: erikleunissen tags: trunk, main
19:33
Fix [b900dc7552] for MinGW: compilation using installed Tcl fails if Tcl source is not accessible.

As in the Unix build, configure uses the installed Tcl headers (TCL_INCLUDE_SPEC) for the compiler and the resource compiler if the Tcl source tree is not readable. tkWinIco.c no longer includes the private header tclWinPort.h, which is not installed. closed check-in: 885bd229 user: serhiy.storchaka tags: win-tcl-installed-headers

19:33
Fix [b900dc7552]: compilation using installed Tcl fails if Tcl source is not accessible.

The Unix build always added the -I options for the Tcl source tree recorded in tclConfig.sh (TCL_SRC_DIR), and never used TCL_INCLUDE_SPEC. Now configure uses the installed Tcl headers if the Tcl source tree is not readable. closed check-in: ac6f167d user: serhiy.storchaka tags: unix-tcl-installed-headers

18:50
Fix [bffa794b1b]: BadAlloc (insufficient resources for operation) in the grid command.

On X11, a widget larger than 32767 pixels, e.g. a label with a long text, crashed the application: X servers refuse to create larger pixmaps, and the protocol truncates sizes larger than 65535. Tk_GetPixmap() now clips the dimensions to 32767. Drawing beyond is lost, but there is no crash. closed check-in: c9111055 user: serhiy.storchaka tags: x11-pixmap-size-limit

18:41
Fix [3009885fff]: tk_messageBox can return empty string on Windows.

When the container of a transient toplevel became visible again, e.g. after it was deiconified, the wrapper of the transient was recreated. This destroyed the dialogs owned by it, so a tk_messageBox with the transient as -parent closed and returned an empty string. Recreate the wrapper only if it is not yet owned by the container's wrapper. closed check-in: b015fbc9 user: serhiy.storchaka tags: win-transient-keep-wrapper

18:28
Fix for [3414673fff]: Improper look of ttk::checkbutton -style Toolbutton. check-in: 7d19595b user: csaba tags: core-8-6-branch
17:32
Fix [89436bd244]: stopped indeterminate ttk::progressbar redraws continuously.

Since [ea571a1307], an indeterminate progressbar was animated whenever the style sets -period (the aqua theme does), even when it was not started. Animate it only while its value is positive, as before, so a stopped progressbar no longer redraws 10 times per second. closed check-in: b4222a1f user: serhiy.storchaka tags: ttk-progressbar-stopped-animation

17:22
Fix [2817531fff]: "wm manage" is deficient and flickering.

On X11, "wm manage" created the wrapper by mapping and immediately unmapping it, so the window flashed at +0+0 even if "wm withdraw" followed. Only create the wrapper and leave mapping to the idle handler, so that "wm withdraw", "wm geometry", "wm overrideredirect" etc. can be applied first. closed check-in: 9f64c948 user: serhiy.storchaka tags: x11-wm-manage-no-flicker

17:08
Fix for [3414673fff]: Improper look of ttk::checkbutton -style Toolbutton. check-in: fe646610 user: csaba tags: core-9-0-branch
16:48
Fix for [3414673fff]: Improper look of ttk::checkbutton -style Toolbutton. check-in: bfa641b9 user: csaba tags: trunk, main
06:11
Fix [2b6398e983]: leak of the -locale value of entry, spinbox and text. check-in: 359b0a55 user: nab tags: trunk, main
2026-09-30
14:55
Fix [3414673]: Improper look of ttk::checkbutton -style Toolbutton. The contents of a pressed or checked Toolbutton are shifted as for a pressed TButton in the default, alt and winnative themes (-shiftrelief 1). In the clam theme, whose border does not show the relief, a checked Toolbutton has the same background as a pressed one. closed check-in: a0094e41 user: serhiy.storchaka tags: toolbutton-pressed-look
Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to library/ttk/altTheme.tcl.
Changes to library/ttk/clamTheme.tcl.
Changes to library/ttk/defaults.tcl.
Changes to library/ttk/winTheme.tcl.
Changes to tests/ttk/ttk.test.