Method: TkItemConfigMethod#itemconfiginfo
- Defined in:
- ext/lib/tk/itemconfig.rb
#itemconfiginfo(tagOrId, slot = nil) ⇒ Object
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 |
# File 'ext/lib/tk/itemconfig.rb', line 1160 def itemconfiginfo(tagOrId, slot = nil) if slot && TkItemConfigMethod.__IGNORE_UNKNOWN_CONFIGURE_OPTION__ begin __itemconfiginfo_core(tagOrId, slot) rescue => e begin __itemconfiginfo_core(tagOrId) # not tag error -> option is unknown Array.new(__item_configinfo_struct.values.max).unshift(slot.to_s) rescue fail e # tag error end end else __itemconfiginfo_core(tagOrId, slot) end end |