class Tk::Tile::TSpinbox

Constants

TkCommandNames
WidgetClassName

Public Class Methods

style(*args) click to toggle source
# File lib/tkextlib/tile/tspinbox.rb, line 88
def self.style(*args)
  [self::WidgetClassName, *(args.map!{|a| _get_eval_string(a)})].join('.')
end

Public Instance Methods

__validation_class_list() click to toggle source
Calls superclass method TkValidation#__validation_class_list
# File lib/tkextlib/tile/tspinbox.rb, line 67
def __validation_class_list
  super() << SpinCommand
end
current() click to toggle source
# File lib/tkextlib/tile/tspinbox.rb, line 92
def current
  number(tk_send_without_enc('current'))
end
current=(idx) click to toggle source
# File lib/tkextlib/tile/tspinbox.rb, line 95
def current=(idx)
  tk_send('current', idx)
end
set(val) click to toggle source
# File lib/tkextlib/tile/tspinbox.rb, line 99
def set(val)
  tk_send('set', val)
end