Method: Tk::ICONS.query
- Defined in:
- lib/tkextlib/ICONS/icons.rb
.query(*args) ⇒ Object
icon, icon, …, ?option=>value, …?
66 67 68 69 70 71 72 73 74 |
# File 'lib/tkextlib/ICONS/icons.rb', line 66 def self.query(*args) # icon, icon, ..., ?option=>value, ...? if args[-1].kind_of?(Hash) keys = args.pop simplelist(tk_call('::icons::icons', 'query', *(hash_kv(keys) << (args.flatten)))) else simplelist(tk_call('::icons::icons', 'query', args.flatten)) end . map{|inf| list(inf) } end |