Tk Source Code

Check-in [f27b1cfd]
Login

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

Overview
Comment:Fix [1100518]: Button should stay in -overrelief state after event

After a click, the button relief was restored to the -relief value even if the mouse was still in the button. Set it to the -overrelief value, as on entry.

Downloads: See separate download page
Timelines: family | ancestors | descendants | both | button-overrelief-after-click
Files: files | file ages | folders
SHA3-256: f27b1cfd17b0916b893e35066ad8714b79ad07f112e10eb495774732fa92d306
User & Date: serhiy.storchaka 2026-09-28 20:05:14.854
Context
2026-09-29
15:27
Fix for [1100518fff]: Button should stay in -overrelief state after event. check-in: 3aa08341 user: csaba tags: trunk, main
2026-09-28
20:05
Fix [1100518]: Button should stay in -overrelief state after event

After a click, the button relief was restored to the -relief value even if the mouse was still in the button. Set it to the -overrelief value, as on entry. closed check-in: f27b1cfd user: serhiy.storchaka tags: button-overrelief-after-click

14:00
Use TkObjIsEmpty() in more places check-in: 40f0e170 user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to library/button.tcl.
Changes to tests/button.test.