class Tk::Iwidgets::Calendar
Constants
- TkCommandNames
- WidgetClassName
Public Instance Methods
Source
# File lib/tkextlib/iwidgets/calendar.rb, line 81 def __validation_class_list super() << CalendarCommand end
Calls superclass method
Tk::ValidateConfigure#__validation_class_list
Source
# File lib/tkextlib/iwidgets/calendar.rb, line 94 def get_clicks number(tk_call(@path, 'get', '-clicks')) end
Source
# File lib/tkextlib/iwidgets/calendar.rb, line 89 def get_string tk_call(@path, 'get', '-string') end
Also aliased as: get
Source
# File lib/tkextlib/iwidgets/calendar.rb, line 98 def select(date) tk_call(@path, 'select', date) self end
Source
# File lib/tkextlib/iwidgets/calendar.rb, line 103 def show(date) tk_call(@path, 'show', date) self end
Source
# File lib/tkextlib/iwidgets/calendar.rb, line 107 def show_now tk_call(@path, 'show', 'now') self end
Private Instance Methods
Source
# File lib/tkextlib/iwidgets/calendar.rb, line 35 def __font_optkeys super() + ['currentdatefont', 'datefont', 'dayfont', 'titlefont'] end
Calls superclass method
Source
# File lib/tkextlib/iwidgets/calendar.rb, line 30 def __listval_optkeys super() << 'days' end
Calls superclass method
TkConfigMethod#__listval_optkeys
Source
# File lib/tkextlib/iwidgets/calendar.rb, line 22 def __strval_optkeys super() + [ 'buttonforeground', 'outline', 'selectcolor', 'weekdaybackground', 'weekendbackground' ] end
Calls superclass method
TkConfigMethod#__strval_optkeys