Tk Library Source Code

View Ticket
Login
Ticket UUID: 717921
Title: v1.6 BWidget LabelEntry fails (was id 712028)
Type: Bug Version: None
Submitter: aspenlogic Created on: 2003-04-09 01:02:08
Subsystem: bwidget Assigned To: damonc
Priority: 4 Severity:
Status: Closed Last Modified: 2009-07-01 15:36:53
Resolution: Rejected Closed By: oehhar
    Closed on: 2009-07-01 08:36:53
Description:
The attached file, when sourced twice in a row, fails
to create the LabelEntry widget.

(NOTE: I had submitted this previously under 712028 but
HOBBS response suggested that he had not seen it.
712028 was closed and consequently I was unable to
respond to add a comment to that affect. Hence the new
bug submission.)
User Comments: oehhar added on 2009-07-01 15:36:52:
Hi Tim,

could I just please you not to destroy the internal BWidget widgets.

Thus modify your deletion loop like that:

foreach ch [winfo children .] {
    if {![string match ".#BWidget*" $ch]} {
catch [list destroy $ch]
    }
}

Thank you and sorry for the inconvenience.

Harald

hobbs added on 2004-02-04 06:51:15:
Logged In: YES 
user_id=72656

This is a general design issue of bwidgets, that you cannot
destroy the windows that it uses that are hidden.  Someone
will have to revisit this that wants to make bwidgets more
easily reloadable.

hobbs added on 2003-07-18 02:19:17:
Logged In: YES 
user_id=72656

It seems that bwidgets isn't correctly recreating some hidden 
widgets that it gets info from.

aspenlogic added on 2003-04-09 08:02:08:

File Added - 47182: 712028.tcl

Attachments: