Class TkSpinbox
In: tk/lib/tk/spinbox.rb
Parent: TkEntry

Methods

identify   set   spindown   spinup  

Constants

TkCommandNames = ['spinbox'.freeze].freeze
WidgetClassName = 'Spinbox'.freeze

Public Instance methods

def create_self(keys)

  tk_call_without_enc('spinbox', @path)
  if keys and keys != None
    configure(keys)
  end

end private :create_self

[Source]

# File tk/lib/tk/spinbox.rb, line 22
  def identify(x, y)
    tk_send_without_enc('identify', x, y)
  end

[Source]

# File tk/lib/tk/spinbox.rb, line 36
  def set(str)
    _fromUTF8(tk_send_without_enc('set', _get_eval_enc_str(str)))
  end

[Source]

# File tk/lib/tk/spinbox.rb, line 31
  def spindown
    tk_send_without_enc('invoke', 'spindown')
    self
  end

[Source]

# File tk/lib/tk/spinbox.rb, line 26
  def spinup
    tk_send_without_enc('invoke', 'spinup')
    self
  end

[Validate]