Tk Source Code

Check-in [80663c87]
Login

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

Overview
Comment:The default font of the menu is the system menu font specified by its name and size, not TkMenuFont: do not draw a menu bar with the default font by Tk.
Downloads: See separate download page
Timelines: family | ancestors | win-menubar-colors-ownerdraw
Files: files | file ages | folders
SHA3-256: 80663c877e8cb8835549dc542330b6c44fe97f581ea130ad00acdbe61bd20023
User & Date: serhiy.storchaka 2026-09-28 11:39:38.770
Context
2026-09-28
11:39
The default font of the menu is the system menu font specified by its name and size, not TkMenuFont: do not draw a menu bar with the default font by Tk. closed check-in: 80663c87 user: serhiy.storchaka tags: win-menubar-colors-ownerdraw
11:20
Fix [11bd4a03a0]: the Windows menu bar ignored the colors and fonts of the menu. The items of a menu bar with non-default colors or fonts are now drawn by Tk (owner-drawn items), using only documented Windows API. The menu bar keeps the standard height. check-in: ad39c644 user: serhiy.storchaka tags: win-menubar-colors-ownerdraw
Changes
Unified Diff Side-by-Side Diff Patch
Changes to win/tkWinMenu.c.