Tk Source Code

Check-in [97048e98]
Login

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

Overview
Comment:Call Tk_MakeWindowExist() in widget constructor. Removed now-unnecessary initial ConfigureNotify processing.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 97048e98812d3e44af0e30820e519a2439119bc5
User & Date: jenglish 2008-01-06 22:33:14.000
References
2026-09-25
08:06 • Closed ticket [1863942f]: Sizing trouble on tk_getOpenFile dialog plus 4 other changes artifact: a03c2da6 user: serhiy.storchaka
2026-09-18
13:28
Fix [31085d2747]: do not create the window of a ttk widget until it is mapped

Since [97048e9881] the ttk widget constructor called Tk_MakeWindowExist(), so on Windows every ttk widget consumed a window handle even when never mapped, and 10000 of them exhausted the per-process handle quota. Classic widgets create their windows only when mapped. The layout is now updated on the first MapNotify event instead, since <<ThemeChanged>> events are not delivered to unrealized windows. The tests which generated events on never mapped widgets now map them first. check-in: 7fc6686e user: serhiy.storchaka tags: ttk-lazy-window-creation

Context
2008-01-06
22:35
(oops. Missed a spot.) check-in: c6340f56 user: jenglish tags: trunk
22:33
Call Tk_MakeWindowExist() in widget constructor. Removed now-unnecessary initial ConfigureNotify processing. check-in: 97048e98 user: jenglish tags: trunk
19:16
Fix MouseWheel bindings for ttk::treeview widget (Fixes #1442006, #1821939, #1862692) check-in: 316f0f87 user: jenglish tags: trunk
Changes
Unified Diff Side-by-Side Diff Patch
Changes to ChangeLog.
Changes to generic/ttk/ttkWidget.c.
Changes to generic/ttk/ttkWidget.h.