From fca9326807d7ae597339b2408731b7e82770d8c5 Mon Sep 17 00:00:00 2001 From: nagai Date: Tue, 9 Aug 2005 06:16:04 +0000 Subject: * ext/tcltklib/tcltklib.c: remove dangerous 'rb_jump_tag's. * ext/tk/lib/tk.rb: add __val2ruby_optkeys and __ruby2val_optkeys to help to convert option values between ruby and tcl. * ext/tk/lib/tk/itemconfig.rb: add __item_val2ruby_optkeys and __item_ruby2val_optkeys to help to convert option values between ruby and tcl. * ext/tk/lib/tk/radiobutton.rb: use __ruby2val_optkeys for 'variable' option (for the reason of backward compatibility). * ext/tk/lib/tk/composite.rb: clarify the arguments of super(). * ext/tk/lib/tk/spinbox.rb: ditto. * ext/tk/lib/tk/text.rb: ditto. * ext/tk/lib/tk/validation.rb: ditto. * ext/tk/lib/tkextlib/*: support to treat tkvariable-type configure options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/lib/tk/radiobutton.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ext/tk/lib/tk/radiobutton.rb') diff --git a/ext/tk/lib/tk/radiobutton.rb b/ext/tk/lib/tk/radiobutton.rb index 6f7a5f60a0..d82aa5d07d 100644 --- a/ext/tk/lib/tk/radiobutton.rb +++ b/ext/tk/lib/tk/radiobutton.rb @@ -17,6 +17,14 @@ class TkRadioButtonproc, ... } + { + 'variable'=>proc{|v| tk_trace_variable(v)} # for backward compatibility + } + end + private :__ruby2val_optkeys + + def deselect tk_send_without_enc('deselect') self -- cgit v1.2.3