diff options
Diffstat (limited to 'ext/tk/lib/tk/radiobutton.rb')
-rw-r--r-- | ext/tk/lib/tk/radiobutton.rb | 8 |
1 files changed, 8 insertions, 0 deletions
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 TkRadioButton<TkButton #end #private :create_self + def __ruby2val_optkeys # { key=>proc, ... } + { + 'variable'=>proc{|v| tk_trace_variable(v)} # for backward compatibility + } + end + private :__ruby2val_optkeys + + def deselect tk_send_without_enc('deselect') self |