Method: Tk::TkTable::ConfigMethod#window_configure
- Defined in:
- lib/tkextlib/tktable/tktable.rb
#window_configure(tagOrId, slot, value = None) ⇒ Object
106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/tkextlib/tktable/tktable.rb', line 106 def window_configure(tagOrId, slot, value=None) if slot == :window || slot == 'window' value = _epath(value) elsif slot.kind_of?(Hash) if slot.key?(:window) || slot.key?('window') slot = _symbolkey2str(slot) slot['window'] = _epath(slot['window']) end end itemconfigure(['window', tagid(tagOrId)], slot, value) end |