Method: TkConfigMethod#cget_tkstring

Defined in:
lib/tk.rb

#cget_tkstring(option) ⇒ Object



3793
3794
3795
3796
3797
# File 'lib/tk.rb', line 3793

def cget_tkstring(option)
  opt = option.to_s
  fail ArgumentError, "Invalid option `#{option.inspect}'" if opt.length == 0
  tk_call_without_enc(*(__cget_cmd << "-#{opt}"))
end