Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more

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 92
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 119
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 80
def tag_cget(tagOrId, option)
  itemcget(['tag', tagid(tagOrId)], option)
end
            
tag_cget_strict(tagOrId, option) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 83
def tag_cget_strict(tagOrId, option)
  itemcget_strict(['tag', tagid(tagOrId)], option)
end
            
tag_cget_tkstring(tagOrId, option) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 77
def tag_cget_tkstring(tagOrId, option)
  itemcget_tkstring(['tag', tagid(tagOrId)], option)
end
            
tag_configinfo(tagOrId, slot=nil) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 89
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 86
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 99
def window_cget(tagOrId, option)
  itemcget(['window', tagid(tagOrId)], option)
end
            
window_cget_strict(tagOrId, option) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 102
def window_cget_strict(tagOrId, option)
  itemcget_strict(['window', tagid(tagOrId)], option)
end
            
window_cget_tkstring(tagOrId, option) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 96
def window_cget_tkstring(tagOrId, option)
  itemcget_tkstring(['window', tagid(tagOrId)], option)
end
            
window_configinfo(tagOrId, slot=nil) click to toggle source
 
               # File tk/lib/tkextlib/tktable/tktable.rb, line 116
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 105
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