kooyee ‘s blog

开源软件, 众人努力的结晶, 全人类的共同财富
posts - 103, comments - 55, trackbacks - 0, articles - 66
   :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

2008年12月3日

posted @ 2009-01-05 01:28 kooyee 阅读(2707) | 评论 (0)编辑 收藏

     摘要: 当调用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)。
  阅读全文

posted @ 2008-12-03 05:05 kooyee 阅读(2303) | 评论 (3)编辑 收藏