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 'generic/*'

2026-09-15
20:20
Merge trunk leaf check-in: 8b6e012e user: jan.nijtmans tags: revised_text, tip-466
19:59
Fix [aba849a99b]: ttk::style configure has no effect on options with a non-empty widget default (-justify, -anchor, ...) leaf check-in: 2e45d810 user: jan.nijtmans tags: core-9-0-branch
19:57
Fix [aba849a99b]: ttk::style configure has no effect on options with a non-empty widget default (-justify, -anchor, ...) check-in: 8a6ca09b user: jan.nijtmans tags: trunk, main
17:46
Use the default values "000000" and "ffffff" for fgColorStr, because the SVG engine of Tk doesn't support color names. closed check-in: 9f126deb user: csaba tags: bug-aba849a99b
15:50
Comment cleanup check-in: 773fb093 user: kevin_walzer tags: wayland_test
15:44
Correct crash in photo image loading found under ASAN check-in: 3230afe9 user: kevin_walzer tags: wayland_test
13:46
Default -anchor should behave like 'left' check-in: dca472ea user: jan.nijtmans tags: bug-aba849a99b, core-bug-aba849a99b
13:40
Undo changes in ttkTreeview; not part of this bug report check-in: 690f3edb user: jan.nijtmans tags: bug-aba849a99b
13:12
Merge wayland-a11y to capture latest updates check-in: 4612ed8f user: kevin_walzer tags: wayland_test
13:10
Fix [aba849a99b]: ttk::style configure has no effect on options with a non-empty widget default (-justify, -anchor, ...) check-in: 3237786e user: jan.nijtmans tags: bug-aba849a99b
2026-09-13
18:43
Fix [aba849a99b]: ttk::style configure has no effect on options with a non-empty widget default

An element takes an option from the widget if the widget option is not NULL, and only otherwise from the style. Use NULL defaults for -justify of ttk::button, ttk::checkbutton, ttk::radiobutton, ttk::menubutton and ttk::label, -anchor of ttk::label, and -anchor, -font, -foreground, -justify and -wraplength of ttk::progressbar, so that the style value is used when the widget option is not set, as was done for -compound in [b82bd4872b].

CPython: https://github.com/python/cpython/issues/157337 leaf check-in: b4689350 user: serhiy.storchaka tags: ttk-style-defaults

2026-09-12
14:50
Begin updating for Wayland testing check-in: b606776c user: kevin_walzer tags: wayland_test
2026-09-11
07:45
Rasterize svg images at the density of the display. leaf check-in: c7ed8721 user: nab tags: nab-svg-density
2026-09-10
00:51
Consolidate changes from wayland_stress_test into wayland-a11y check-in: 383f25f1 user: kevin_walzer tags: wayland-a11y
2026-09-09
13:56
Add the -density option to photo images, [winfo pixeldensity] and the <<PixelDensityChanged>> virtual event.

An image of N x M pixels with density d is laid out and drawn as N/d x M/d screen pixels: on Aqua its pixels then map one to one onto the Retina backing store instead of being stretched, X11 and Windows resample it in software. Nothing changes at density 1. check-in: 06f7f96c user: nab tags: nab-photo-density

00:54
Correct cursor tracking in mixed normal/emoji text check-in: f14dd955 user: kevin_walzer tags: wayland_stress_test
2026-09-08
11:21
Correct cursor tracking and drawing in glyphs with diacritical marks check-in: cc5bbae8 user: kevin_walzer tags: wayland_stress_test
2026-09-02
21:03
Fix [eb0393e7b7]: [grid forget] silently resets the forgotten window's own [grid propagate] setting leaf check-in: 1ee98b20 user: jan.nijtmans tags: bug-eb0393e7b7, core-bug-eb0393e7b7
2026-08-27
01:02
Additional work on connecting to accessibility bus check-in: 552c8402 user: kevin_walzer tags: wayland-a11y
2026-08-26
20:04
Merge wayland-drawing-fixes check-in: 469ccbad user: kevin_walzer tags: wayland
2026-08-25
22:22
Restore static keyword to renderFBO function check-in: c22f33d7 user: kevin_walzer tags: wayland-drawing-fixes
10:34
Merge nab-testtext-queuewindowscript (test helper moved into [testtext]) check-in: 0a0f3139 user: nab tags: revised_text, tip-466
10:31
Move [testqueuewindowscript] into [testtext queuewindowscript], as done in rtext [8b05b8bd87] leaf check-in: 6527249f user: nab tags: nab-testtext-queuewindowscript
2026-08-24
23:33
Merge wayland branch check-in: 352d0541 user: kevin_walzer tags: wayland-a11y
22:01
merge wayland_wm check-in: af5160b9 user: culler tags: wayland
21:52
merge wayland_menu2 closed check-in: f79a006e user: culler tags: wayland_wm
18:00
Simplify many aspects of the Tk Wm; use GLES 3.0 instead of 3.2 to better support VMs. closed check-in: ebd0507f user: culler tags: wayland_menu2
2026-08-23
15:04
Merge trunk check-in: 4cac1ae9 user: kevin_walzer tags: wayland
2026-08-22
15:49
Additional tweak to window management under Wayland check-in: 09f1567e user: kevin_walzer tags: wayland_wm
15:41
Fix crash in font selection demo check-in: 7be1a24f user: kevin_walzer tags: wayland_wm
2026-08-20
17:42
merge trunk check-in: 56a83c65 user: dgp tags: core-9-1-b1-rc
2026-08-19
09:23
Indenting check-in: e73a4303 user: jan.nijtmans tags: trunk, main
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
16:54
Eliminate -lang option, in favor of -locale check-in: 4bdc6aa9 user: jan.nijtmans tags: revised_text, tip-466
15:30
Close fork. check-in: ae07179c user: culler tags: wayland
14:11
Adjust the clipping rectangle in tkCanvas.c so dragging items does not erase the border. check-in: afbba411 user: culler tags: wayland
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
01:05
Formatting leaf check-in: e34e1c07 user: kevin_walzer tags: tk_text_grapheme
2026-08-16
22:30
Fix dpi detection and use correct dpi for converting distances to pixels. check-in: 54e1f847 user: culler tags: wayland
22:18
Tweak grapheme breaking in tkTextDisp.c check-in: bd69bbb3 user: kevin_walzer tags: tk_text_grapheme
19:16
Refinement of SA dicts to support Windows build; add tests for UAX #14 and #29; adjustments to tkTextDisp.c to address test failures check-in: aeec6fb4 user: kevin_walzer tags: tk_text_grapheme
04:28
Use correct dpi when converting points to pixels. Enable wayland defaults. Try using 3 for the default value of spacing2. closed check-in: 636ad5dc user: culler tags: wayland_screenmm
2026-08-15
10:29
Implementation of RFE [2b8235d468]: Add "-text" option to ttk::toggleswitch. check-in: 768e88a4 user: csaba tags: trunk, main
02:32
Additional progress on dictionary-based grapheme word and line breaks check-in: b9a34197 user: kevin_walzer tags: tk_text_grapheme
2026-08-14
18:44
Extended the file toggleswitch.test. check-in: 44892b5d user: csaba tags: enhanced-toggleswitch
17:34
Correct crash in font memory allocation; additional tweaks for various font drawing operations; tweak comments; merge wayland branch leaf check-in: eb1f3cc9 user: kevin_walzer tags: wayland_cleanup
15:44
Fix vapor trails when dragging canvas items. Now that ClipDrawableToRect actually clips, the rect has to be expanded by AA_PAD as well. check-in: 386a0d49 user: culler tags: wayland