when a widget is added from the widget toolbar and error appears:
bad variable name "vTcl(w,opt,-background)": upvar won't create a scalar variable that looks like an array element
stack:
bad variable name "vTcl(w,opt,-background)": upvar won't create a scalar variable that looks like an array element
while executing
"global vTcl $variable options specialOpts propmgrLabels"
(procedure "vTcl:prop:new_attr" line 2)
invoked from within
"vTcl:prop:new_attr $top $i $variable vTcl:prop:config_cmd "" opt"
("foreach" body line 10)
invoked from within
"foreach i $vTcl(options) {
if {$options($i,type) == "synonym"} { continue }
set newtype $options($i,title)
if {$type != $newtype..."
invoked from within
"if {[winfo exists $top]} {
if {$vTcl(w,class) != $vTcl(w,last_class)} {
catch {pack forget $fr._$vTcl(w,last_class)}
update
..."
(procedure "vTcl:prop:update_attr" line 20)
invoked from within
"vTcl:prop:update_attr"
(procedure "vTcl:select_widget" line 23)
invoked from within
"vTcl:select_widget $target"
(procedure "vTcl:active_widget" line 15)
invoked from within
"vTcl:active_widget .top63.fra66"
("eval" body line 1)
invoked from within
"eval $do"
(procedure "vTcl:push_action" line 4)
invoked from within
"vTcl:push_action $do $undo"
(procedure "vTcl:create_widget" line 72)
invoked from within
"vTcl:create_widget $class $options $new_widg $x $y"
(procedure "vTcl:place_widget" line 45)
invoked from within
"vTcl:place_widget Frame .vTcl.toolbar.sbands.sw.sff.frame.bfrmcore.frm.tb3.b {} 691 363 467 174"
(command bound to event)
also notice that attribute editor does not display attribute or geometry choices