__validation_class_list()
click to toggle source
def __validation_class_list
super() << SpinCommand
end
identify(x, y)
click to toggle source
def identify(x, y)
tk_send_without_enc('identify', x, y)
end
invoke(elem)
click to toggle source
def invoke(elem)
tk_send_without_enc('invoke', elem)
self
end
set(str)
click to toggle source
def set(str)
_fromUTF8(tk_send_without_enc('set', _get_eval_enc_str(str)))
end
spindown()
click to toggle source
def spindown
begin
tk_send_without_enc('invoke', 'buttondown')
rescue RuntimeError => e
begin
tk_send_without_enc('invoke', 'spinup')
rescue
fail e
end
end
self
end
spinup()
click to toggle source
def spinup
begin
tk_send_without_enc('invoke', 'buttonup')
rescue RuntimeError => e
begin
tk_send_without_enc('invoke', 'spinup')
rescue
fail e
end
end
self
end