摘要: 當調用nam時,出現如下錯誤
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox
{
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."
這個是由于nam調用的tk組件和xproto-7.0.13 不兼容導致的(xproto-7.0.13 新添加了 GenericEvent)。
閱讀全文