Method: Tk::Text#image_configure
- Defined in:
- lib/tk/text.rb
#image_configure(index, slot, value = None) ⇒ Object
453 454 455 456 457 458 459 460 461 462 463 464 465 |
# File 'lib/tk/text.rb', line 453 def image_configure(index, slot, value=None) if slot.kind_of?(Hash) _fromUTF8(tk_send_without_enc('image', 'configure', _get_eval_enc_str(index), *hash_kv(slot, true))) else _fromUTF8(tk_send_without_enc('image', 'configure', _get_eval_enc_str(index), "-#{slot}", _get_eval_enc_str(value))) end self end |