diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/iwidgets/watch.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/iwidgets/watch.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/iwidgets/watch.rb b/ext/tk/lib/tkextlib/iwidgets/watch.rb index f62c0b931e..ab2b687cf9 100644 --- a/ext/tk/lib/tkextlib/iwidgets/watch.rb +++ b/ext/tk/lib/tkextlib/iwidgets/watch.rb @@ -18,6 +18,17 @@ class Tk::Iwidgets::Watch WidgetClassName = 'Watch'.freeze WidgetClassNames[WidgetClassName] = self + def __boolval_optkeys + super() << 'showampm' + end + private :__boolval_optkeys + + def __strval_optkeys + super() << 'clockcolor' << 'hourcolor' << 'minutecolor' << + 'pivotcolor' << 'secondcolor' << 'tickcolor' + end + private :__strval_optkeys + def get_string tk_call(@path, 'get', '-string') end |