Method: TkPhotoImage#cget_strict

Defined in:
lib/tk/image.rb

#cget_strict(option) ⇒ Object



202
203
204
205
206
207
208
209
# File 'lib/tk/image.rb', line 202

def cget_strict(option)
  case option.to_s
  when 'data', 'file'
    tk_send 'cget', '-' << option.to_s
  else
    tk_tcl2ruby(tk_send('cget', '-' << option.to_s))
  end
end