Tk Source Code

Check-in [d005489a]
Login

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

Overview
Comment:Fix for [042da6013e]: Pendulum demo text not visible under dark mode
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: d005489a6be0a41f90c3446194d24cb9520ee606b9bb106e7ead7b9779db7216
User & Date: csaba 2026-10-28 18:10:38.383
References
2026-10-30
08:51 • Ticket [59d6d5f6] Proposed fix for dancing selection in mixed RTL display status still Open with 3 other changes artifact: 04347d8f user: serhiy.storchaka
2026-10-28
19:12 • Closed ticket [042da601]: Pendulum demo text not visible under dark mode plus 7 other changes artifact: cba88670 user: nemethi
Context
2026-10-29
14:39
Fix for [3164867fff]: Add Xcursor support on X11 check-in: a03b4575 user: csaba tags: trunk, main
2026-10-28
20:31
Merge trunk check-in: 12bc689a user: kevin_walzer tags: wayland
19:02
Patches for shimmering bidi text in [59d6d5f6c0] check-in: d681110d user: kevin_walzer tags: dancing_bidi
18:20
Fix for [042da6013e]: Pendulum demo text not visible under dark mode check-in: 02bf07d1 user: csaba tags: core-9-0-branch
18:10
Fix for [042da6013e]: Pendulum demo text not visible under dark mode check-in: d005489a user: csaba tags: trunk, main
17:02
[1348333] High number of text widgets block idle queue check-in: 8cd9dc36 user: oehhar tags: trunk, main
2026-10-26
12:44
Fix for [042da6013e]: give the demos colours which go with their background.

The pendulum demo gives its canvases a white background but leaves the text items at the default foreground, which under a dark appearance is white, so the caption and the axis labels could not be seen. Give those items a fill of their own, as the other demos were given one.

The widget demo colours its index links for a light background, which the text widget need not have: a #303080 link on a dark one cannot be read. Choose the set which goes with the background the text widget actually has, by the weighting tk_setPalette uses to decide between a black and a white foreground. closed check-in: 72d8eb47 user: serhiy.storchaka tags: demo-colors-dark-mode

Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to library/demos/combo.tcl.
Changes to library/demos/pendulum.tcl.
Changes to library/demos/toolbar.tcl.
Changes to library/demos/ttkbut.tcl.
Changes to library/demos/ttkmenu.tcl.
Changes to library/demos/ttkpane.tcl.
Changes to library/demos/ttkprogress.tcl.
Changes to library/demos/widget.