tk::ButtonUp Priv(repeated) no such var
Closed / Invalid528360ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-03-11 06:24:14
This is in MacOS X snapshot 8.4a4-2, running on MacOS X
10.1.3
The first time I click a checkbox in TkDiff's
preferences dialog, I get an error about a Priv
variable (which is _not_ in my program):
can't read "Priv(repeated)": no such variable
while executing
"if { $Priv(repeated) == 0 } {
uplevel #0 [list $w invoke]
}"
(procedure "tk::ButtonUp" line 18)
invoked from within
"tk::ButtonUp .pref.fGeneral.c6"
(command bound to event)
After the first click, subsequent ones act normally.
I suspect that TkDiff has some insane bindings, but I
can't trace it after it gets lost in tk::ButtonUp. It
doesn't happen with all programs or other platforms.
There's a version of TkDiff at
http://www.twobarleycorns.net/vat.html. To reproduce
the problem, just start the program, use the menu
Edit->Preferences, and click on one of the
checkbuttons.
andreas_kupriesplain2002-03-19 06:46:11
Logged In: YES user_id=75003 This is a Tk error and should be reported at http://sf.net/projects/tktoolkit/
Log in (anonymous is fine) to add a comment.