class Tk::Tcllib::Widget::Calendar
Constants
- PACKAGE_NAME
- TkCommandNames
Public Class Methods
package_name()
click to toggle source
# File lib/tkextlib/tcllib/calendar.rb, line 20 def self.package_name PACKAGE_NAME end
package_version()
click to toggle source
# File lib/tkextlib/tcllib/calendar.rb, line 24 def self.package_version begin TkPackage.require('widget::calendar') rescue '' end end
Public Instance Methods
get(what = 'all')
click to toggle source
# File lib/tkextlib/tcllib/calendar.rb, line 53 def get(what = 'all') tk_send('get', what) end
Private Instance Methods
__boolval_optkeys()
click to toggle source
Calls superclass method
# File lib/tkextlib/tcllib/calendar.rb, line 38 def __boolval_optkeys super() << 'showpast' end
create_self(keys)
click to toggle 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