error "Geometry management error: pane \"$w.$name\" cannot be managed by \"[winfo manager $w.$name]\"\nhint: delete the line \"[winfo manager $w.$name] $w.$name ...\" from your program"
}
# set the minor size
#
set req_minor [winfo req$minorspec $w.$name]
if {$req_minor > $minorsize} {
set minorsize $req_minor
}
# Check the natural size against the max, min requirements.
# Change the natural size if necessary
#
if {$data($name,size) <= 1} {
set data($name,size) [winfo req$majorspec $w.$name]
}
if {$data($name,size) > 1} {
# If we get zero maybe the widget was not initialized yet ...
#
# %% hazard : what if the window is really 1x1?
#
if {$data($name,size) < $data($name,min)} {
set data($name,size) $data($name,min)
}
if {$data($name,size) > $data($name,max)} {
set data($name,size) $data($name,max)
}
}
# kludge: because a frame always returns req size of {1,1} before
# the packer processes it, we do the following to mark the
# pane as "size unknown"
#
# if {$data($name,size) == 1 && ![winfo ismapped $w.$name]} {