Class Tk::Iwidgets::Spintime
In: tk/lib/tkextlib/iwidgets/spintime.rb
Parent: Tk::Itk::Widget

Methods

get   get_clicks   get_string   show   show_now  

Constants

TkCommandNames = ['::iwidgets::spintime'.freeze].freeze
WidgetClassName = 'Spintime'.freeze

Public Instance methods

get()

Alias for get_string

[Source]

# File tk/lib/tkextlib/iwidgets/spintime.rb, line 36
  def get_clicks
    number(tk_call(@path, 'get', '-clicks'))
  end

[Source]

# File tk/lib/tkextlib/iwidgets/spintime.rb, line 31
  def get_string
    tk_call(@path, 'get', '-string')
  end

[Source]

# File tk/lib/tkextlib/iwidgets/spintime.rb, line 40
  def show(date=None)
    tk_call(@path, 'show', date)
    self
  end

[Source]

# File tk/lib/tkextlib/iwidgets/spintime.rb, line 44
  def show_now
    tk_call(@path, 'show', 'now')
    self
  end

[Validate]