Tk Source Code

Timeline
Login

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

50 most recent check-ins that include changes to files matching 'library/ttk/*'

2026-09-19
18:57
Added missing -foreground option value for TCombobox in {readonly focus} state. leaf check-in: 4d58d6a5 user: csaba tags: vista_theme_improvements
17:40
Fix [3de1b72157]: ttk::notebook takes the focus when clicked, even with the -takefocus 0 option

Made the notebook behave like the themed buttons: with -takefocus 0 (or a command returning 0) clicking a tab no longer takes the focus away from another widget; the focus still leaves a deselected tab. leaf check-in: cde76e63 user: serhiy.storchaka tags: ttk-notebook-takefocus-click, core-ttk-notebook-takefocus-click

11:45
Fix [1692755]: Focused button widgets invoked on Alt-Space

Bind <Alt-space> to nothing for buttons, checkbuttons, radiobuttons and their ttk counterparts, so that Alt-space only opens the window menu on Windows. leaf check-in: 3f81dcc5 user: serhiy.storchaka tags: alt-space-no-invoke, core-alt-space-no-invoke

2026-09-17
18:42
Fix [300bad1beb]: Selected text of an unfocused ttk::entry ignores the -foreground state map on Windows

On Windows, ttk::entry, ttk::combobox and ttk::spinbox no longer draw the selection when they do not have the focus (unless ::tk::AlwaysShowSelection is set), like tk::entry and native edit controls. The Windows themes hid it by mapping the selection colors to fixed normal colors, which ignored state maps for -foreground and -fieldbackground; these maps are removed. leaf check-in: c1499af2 user: serhiy.storchaka tags: win-hide-unfocused-selection, core-win-hide-unfocused-selection

18:41
Fix [300bad1beb]: Selected text of an unfocused ttk::entry ignores the -foreground state map on Windows

An empty -selectforeground now means the -foreground color, and an empty -selectbackground means no selection background. The Windows themes use them for unfocused entries, comboboxes and spinboxes instead of the fixed colors SystemWindowText and SystemWindow, so that state maps for -foreground and -fieldbackground apply to the (invisible) selection too. check-in: bb997453 user: serhiy.storchaka tags: ttk-empty-selectcolor

2026-09-15
20:20
Merge trunk leaf check-in: 8b6e012e user: jan.nijtmans tags: revised_text, tip-466
2026-09-12
15:50
Minor improvements related to the Wide.TSpinbox style. check-in: a408a229 user: csaba tags: vista_theme_improvements
2026-09-11
18:33
Made the Wide.TSpinbox style of the vista and winnative themes look like a native NumberBox with SpinButtonPlacementMode set to Inline; improvements related to the elements Entry.field, Spinbox.field, *.Progressbar.trough, and *.Scale.slider. check-in: c3e9fcfd user: csaba tags: vista_theme_improvements
2026-09-09
03:11
Incorporated improvements from Csaba check-in: 22d7a983 user: bohagan tags: vista_theme_improvements
2026-09-05
23:31
Implemented wide spinbox for Vista theme check-in: 5f97e54e user: bohagan tags: vista_theme_improvements
2026-08-30
23:14
Merged redundant element creation in vistaTheme.tcl into ttkWinVistaTheme.c. Also included a few layout improvements for better Windows 10/11 compatibility. check-in: 374e9c91 user: bohagan tags: vista_theme_improvements
2026-08-26
14:54
merge trunk check-in: fd134468 user: dgp tags: core-9-1-b1-rc
09:47
Fix for [e2836c10a]: ttk::treeview selection ignores -selecttype (thanks, Emiliano!). check-in: 05b06037 user: csaba tags: trunk, main
2026-08-23
15:04
Merge trunk check-in: 4cac1ae9 user: kevin_walzer tags: wayland
2026-08-20
17:42
merge trunk check-in: 56a83c65 user: dgp tags: core-9-1-b1-rc
2026-08-18
20:35
Do proper parsing of the locale in the 'text brks' command check-in: 516289eb user: jan.nijtmans tags: revised_text, tip-466
15:45
Minor toggleswitch-related improvements. check-in: 2cba62ad user: csaba tags: trunk, main
2026-08-17
12:42
Missing 'const'. Fix for altTheme leaf check-in: 032c8eb4 user: jan.nijtmans tags: ttk-range-widget
12:37
Rebase to trunk check-in: edddf96e user: jan.nijtmans tags: ttk-range-widget
09:41
Close fork. Merge trunk check-in: 67f112e2 user: jan.nijtmans tags: wayland
09:40
Merge trunk check-in: e5082a6f user: jan.nijtmans tags: revised_text, tip-466
2026-08-15
10:29
Implementation of RFE [2b8235d468]: Add "-text" option to ttk::toggleswitch. check-in: 768e88a4 user: csaba tags: trunk, main
2026-08-13
17:50
Small corrections and extensions. check-in: fbe919e2 user: csaba tags: enhanced-toggleswitch
16:47
Started the implementation of RFE [2b8235d468]: Add "-text" option to ttk::toggleswitch. check-in: 0db99392 user: csaba tags: enhanced-toggleswitch
2026-08-12
18:10
merge trunk check-in: ae3d9b10 user: dgp tags: core-9-1-b1-rc
2026-08-10
23:40
Merge trunk to pick up console.n manual fix check-in: 8d5619fc user: rocketship98 tags: tip-561-revised
15:17
Merge trunk check-in: bf7d19ba user: jan.nijtmans tags: revised_text, tip-466
2026-08-07
14:24
Fix for [7304daadc1]: Treeview item expanding only on double click when using custom Treeitem.indicator. check-in: 1b1aa941 user: csaba tags: trunk, main
2026-07-31
17:03
merge main check-in: e8cebab8 user: culler tags: wayland_nvg
2026-07-29
19:43
Merge trunk check-in: 1ef66cfb user: kevin_walzer tags: wayland
09:05
Merge trunk check-in: cd7e2cb6 user: nab tags: revised_text, tip-466
2026-07-28
15:45
Minor code and appearance improvements related to several bult-in themes. check-in: 0354f920 user: csaba tags: core-9-0-branch
15:36
Code cleanup and minor visual improvements related to most built-in themes. check-in: 0c05faa4 user: csaba tags: trunk, main
2026-07-26
03:41
merge main again and force tkBind.c to be updated check-in: fe1cbab6 user: culler tags: wayland_nvg
2026-07-25
17:32
Merge trunk check-in: 22a87cc8 user: kevin_walzer tags: wayland
16:43
Merge main again for new library files. check-in: 5d7dc607 user: culler tags: wayland_nvg
16:41
Follow-up to fix for [2f857074fc]: ttk::entry has a wrong background in clam theme and readonly state. check-in: d3daaf59 user: csaba tags: core-8-6-branch
16:36
merge main -- library is no longer aware of wayland. check-in: b7fc3371 user: culler tags: wayland_nvg
16:32
Follow-up to fix for [2f857074fc]: ttk::entry has a wrong background in clam theme and readonly state. check-in: 49dd3b57 user: csaba tags: core-9-0-branch
16:28
Follow-up to fix for [2f857074fc]: ttk::entry has a wrong background in clam theme and readonly state. check-in: 0a41def2 user: csaba tags: trunk, main
2026-07-24
09:51
Fix for [2f857074fc]: ttk::entry has a wrong background in clam theme and readonly state. check-in: 8cd0ff96 user: csaba tags: core-8-6-branch
2026-07-23
19:52
Fix for [2f857074fc]: ttk::entry has a wrong background in clam theme and readonly state. leaf check-in: 8d182933 user: csaba tags: NSWindowDidOrderOnScreenNotification-removal-for-app-store
19:40
Fix for [2f857074fc]: ttk::entry has a wrong background in clam theme and readonly state. check-in: be456657 user: csaba tags: core-9-0-branch
19:33
Fix for [2f857074fc]: ttk::entry has a wrong background in clam theme and readonly state. check-in: f510af3b user: csaba tags: trunk, main
18:24
[0a2487a0] Various improvements related to most built-in themes. check-in: 3378476e user: csaba tags: trunk, main
2026-07-22
17:14
Merge trunk check-in: 3b348ba4 user: nab tags: revised_text, tip-466
2026-07-21
14:23
Added missing bits to the fix for [eaef70f38e] and handled the --disable-bidi case, too. check-in: da53e463 user: csaba tags: trunk, main
2026-07-19
19:06
Potential fix for 932ed4f57b check-in: a046afcc user: kevin_walzer tags: bidi_clip_fix
2026-07-15
10:16
Merge revised_text: trunk merges, nab-tabs-wrap-none, and the five adversarial hardening fixes (nab-integration). The regression tests btree-14.8 - btree-14.35 of this branch move to btree-14.12 - btree-14.39, the merged nab-integration tests own btree-14.8 - btree-14.11. closed check-in: d303deae user: nab tags: nab-deleterange-elide
2026-07-14
15:16
Merge trunk check-in: a38aaca6 user: jan.nijtmans tags: revised_text, tip-466