Menu

#44 tabset closes tab when it loses its window

open
nobody
None
5
2025-06-17
2025-06-17
No

Hi!

BLT 3 has a change with respect to BLT 2, which I'd call a bug: When a tab in a tabset widget loses its window (in the attached example it is stealed by another tab) it deletes the tab itself. In BLT 2 the tab stays empty. The attached example is taken from Python's library PMW and is rewritten to Tcl. Here two tabs (Appearance and Images) steal a window (label .tabset.ap) from each other on tab selection. I think that not deleting the tab is more reasonable behavior, hence the attached patch (taken from the corresponding part of bltTabset.c of version 2).

2 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.