diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/iwidgets/spintime.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/iwidgets/spintime.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/iwidgets/spintime.rb b/ext/tk/lib/tkextlib/iwidgets/spintime.rb index c1e1f5e5f1..0ff683ab56 100644 --- a/ext/tk/lib/tkextlib/iwidgets/spintime.rb +++ b/ext/tk/lib/tkextlib/iwidgets/spintime.rb @@ -18,6 +18,16 @@ class Tk::Iwidgets::Spintime WidgetClassName = 'Spintime'.freeze WidgetClassNames[WidgetClassName] = self + def __boolval_optkeys + super() << 'houron' << 'militaryon' << 'minutelabel' << 'secondlabel' + end + private :__boolval_optkeys + + def __strval_optkeys + super() << 'hourlabel' << 'minuteon' << 'secondon' + end + private :__strval_optkeys + def get_string tk_call(@path, 'get', '-string') end |