In Files

  • tk/lib/tkextlib/tktable/tktable.rb

Class/Module Index [+]

Quicksearch

Tk::TkTable::ConfigMethod

Public Instance Methods

current_tag_configinfo(tagOrId, slot=nil) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 86
def current_tag_configinfo(tagOrId, slot=nil)
  current_itemconfiginfo(['tag', tagid(tagOrId)], slot)
end
            
current_window_configinfo(tagOrId, slot=nil) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 107
def current_window_configinfo(tagOrId, slot=nil)
  current_itemconfiginfo(['window', tagid(tagOrId)], slot)
end
            
tag_cget(tagOrId, option) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 77
def tag_cget(tagOrId, option)
  itemcget(['tag', tagid(tagOrId)], option)
end
            
tag_configinfo(tagOrId, slot=nil) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 83
def tag_configinfo(tagOrId, slot=nil)
  itemconfiginfo(['tag', tagid(tagOrId)], slot)
end
            
tag_configure(tagOrId, slot, value=None) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 80
def tag_configure(tagOrId, slot, value=None)
  itemconfigure(['tag', tagid(tagOrId)], slot, value)
end
            
window_cget(tagOrId, option) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 90
def window_cget(tagOrId, option)
  itemcget(['window', tagid(tagOrId)], option)
end
            
window_configinfo(tagOrId, slot=nil) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 104
def window_configinfo(tagOrId, slot=nil)
  itemconfiginfo(['window', tagid(tagOrId)], slot)
end
            
window_configure(tagOrId, slot, value=None) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 93
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