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



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

def self.package_name
  PACKAGE_NAME
end

.package_versionObject



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

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

Instance Method Details

#get(what = 'all') ⇒ Object



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

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