tabset closes tab when it loses its window
Brought to you by:
ghowlett
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).