Method: Tk::Vu::Dial#get_tag
- Defined in:
- lib/tkextlib/vu/dial.rb
#get_tag(val = nil) ⇒ Object
76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/tkextlib/vu/dial.rb', line 76 def get_tag(val=nil) if val tk_call(@path, 'tag', val) else ret = [] lst = simplelist(tk_call(@path, 'tag')) while lst.size > 0 ret << ([num_or_str(lst.shift)] << lst.shift) end end end |