aboutsummaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tk/radiobutton.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk/radiobutton.rb')
-rw-r--r--ext/tk/lib/tk/radiobutton.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/tk/lib/tk/radiobutton.rb b/ext/tk/lib/tk/radiobutton.rb
index d82aa5d07d..f8f67d709a 100644
--- a/ext/tk/lib/tk/radiobutton.rb
+++ b/ext/tk/lib/tk/radiobutton.rb
@@ -17,6 +17,16 @@ class TkRadioButton<TkButton
#end
#private :create_self
+ def __boolval_optkeys
+ super() << 'indicatoron'
+ end
+ private :__boolval_optkeys
+
+ def __strval_optkeys
+ super() << 'selectcolor'
+ end
+ private :__strval_optkeys
+
def __ruby2val_optkeys # { key=>proc, ... }
{
'variable'=>proc{|v| tk_trace_variable(v)} # for backward compatibility