Tk Library Source Code

View Ticket
Login
Ticket UUID: 2831785
Title: NoteBook page delete with destroyframe 0 has problems
Type: Bug Version: None
Submitter: kjnash Created on: 2009-08-04 02:12:01
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-08-04 13:58:09
Resolution: Accepted Closed By: oehhar
    Closed on: 2009-08-04 06:58:09
Description:
Using BWidget v1.8 via ActiveState teapot
data($page,realized) should not be deleted if $destroyframe is 0

 # ---------------------------------------------------------------------------
 #  notebook.tcl
 #  This file is part of Unifix BWidget Toolkit
-#  $Id: notebook.tcl,v 1.23 2005/01/26 01:01:26 hobbs Exp $
+#  $Id: notebook.tcl,v 1.25 2009/07/01 14:41:30 oehhar Exp $
 # ---------------------------------------------------------------------------
 #  Index of commands:
 #     - NoteBook::create
@@ -304,6 +304,7 @@
         destroy $path.f$page
     }
     _redraw $path
+    unset data($page,width) data($page,realized)
 }
User Comments: oehhar added on 2009-08-04 13:58:09:
Bug confirmed and patched in current cvs.
Thank you,
Harald

kjnash added on 2009-08-04 09:12:01:

File Added - 337879: bw-bug.tcl

Attachments: