class Tk::Tcllib::Widget::Calendar
Constants
- PACKAGE_NAME
- TkCommandNames
Public Class Methods
Source
# File lib/tkextlib/tcllib/calendar.rb, line 20 def self.package_name PACKAGE_NAME end
Source
# File lib/tkextlib/tcllib/calendar.rb, line 24 def self.package_version begin TkPackage.require('widget::calendar') rescue '' end end
Public Instance Methods
Source
# File lib/tkextlib/tcllib/calendar.rb, line 53 def get(what = 'all') tk_send('get', what) end
Private Instance Methods
Source
# File lib/tkextlib/tcllib/calendar.rb, line 38 def __boolval_optkeys super() << 'showpast' end
Calls superclass method
Source
# File lib/tkextlib/tcllib/calendar.rb, line 43 def create_self(keys) if keys and keys != None tk_call_without_enc(self.class::TkCommandNames[0], @path, *hash_kv(keys, true)) else tk_call_without_enc(self.class::TkCommandNames[0], @path) end end