diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/iwidgets/calendar.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/iwidgets/calendar.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/iwidgets/calendar.rb b/ext/tk/lib/tkextlib/iwidgets/calendar.rb index 97688bb7d0..0152f8593a 100644 --- a/ext/tk/lib/tkextlib/iwidgets/calendar.rb +++ b/ext/tk/lib/tkextlib/iwidgets/calendar.rb @@ -18,6 +18,24 @@ class Tk::Iwidgets::Calendar WidgetClassName = 'Calendar'.freeze WidgetClassNames[WidgetClassName] = self + def __strval_optkeys + super() + [ + 'buttonforeground', 'outline', 'selectcolor', + 'weekdaybackground', 'weekendbackground' + ] + end + private :__strval_optkeys + + def __listval_optkeys + super() << 'days' + end + private :__listval_optkeys + + def __font_optkeys + super() + ['currentdatefont', 'datefont', 'dayfont', 'titlefont'] + end + private :__font_optkeys + #################################### include Tk::ValidateConfigure |