Class: Tk::Tcllib::Widget::Calendar

Inherits:
TkCanvas
  • Object
show all
Defined in:
lib/tkextlib/tcllib/calendar.rb,
lib/tkextlib/tcllib/calendar.rb

Constant Summary collapse

PACKAGE_NAME =
'widget::calendar'.freeze
TkCommandNames =
['::widget::calendar'.freeze].freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.package_nameObject



20
21
22
# File 'lib/tkextlib/tcllib/calendar.rb', line 20

def self.package_name
  PACKAGE_NAME
end

.package_versionObject



24
25
26
27
28
29
30
# File 'lib/tkextlib/tcllib/calendar.rb', line 24

def self.package_version
  begin
    TkPackage.require('widget::calendar')
  rescue
    ''
  end
end

Instance Method Details

#get(what = 'all') ⇒ Object



53
54
55
# File 'lib/tkextlib/tcllib/calendar.rb', line 53

def get(what = 'all')
  tk_send('get', what)
end