diff --git a/ChangeLog b/ChangeLog index 4f1117bd0a..e74f755b95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Tue Oct 6 06:26:00 2009 Hidetoshi NAGAI + + * * ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE *** + 'tags' option of a TkcItem object should give a list of TkcTag objs. + + * ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug. + + * ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb: + lack of support for methodcall_optkeys. + Mon Oct 5 12:22:12 2009 Yukihiro Matsumoto * array.c (rb_ary_{times, shuffle_bang, sample}): reducing macro diff --git a/ext/tk/lib/tk/canvas.rb b/ext/tk/lib/tk/canvas.rb index 602139e00a..f0cb755bd7 100644 --- a/ext/tk/lib/tk/canvas.rb +++ b/ext/tk/lib/tk/canvas.rb @@ -25,7 +25,10 @@ module TkCanvasItemConfig private :__item_methodcall_optkeys def __item_val2ruby_optkeys(id) # { key=>proc, ... } - super(id).update('window'=>proc{|i, v| window(v)}) + super(id).update('window'=>proc{|i, v| window(v)}, + 'tags'=>proc{|i, v| + simplelist(v).collect{|tag| TkcTag.id2obj(self, tag)} + }) end private :__item_val2ruby_optkeys @@ -690,7 +693,7 @@ class TkcItem