Method: TkConfigMethod#configinfo

Defined in:
lib/tk.rb

#configinfo(slot = nil) ⇒ Object



4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
# File 'lib/tk.rb', line 4792

def configinfo(slot = nil)
  if slot && TkConfigMethod.__IGNORE_UNKNOWN_CONFIGURE_OPTION__
    begin
      __configinfo_core(slot)
    rescue
      Array.new(__configinfo_struct.values.max).unshift(slot.to_s)
    end
  else
    __configinfo_core(slot)
  end
end