Module Tk::TkTable::ConfigMethod
In: tk/lib/tkextlib/tktable/tktable.rb

Methods

Included Modules

TkItemConfigMethod

Public Instance methods

[Source]

# File tk/lib/tkextlib/tktable/tktable.rb, line 86
  def current_tag_configinfo(tagOrId, slot=nil)
    current_itemconfiginfo(['tag', tagid(tagOrId)], slot)
  end

[Source]

# File tk/lib/tkextlib/tktable/tktable.rb, line 107
  def current_window_configinfo(tagOrId, slot=nil)
    current_itemconfiginfo(['window', tagid(tagOrId)], slot)
  end

[Source]

# File tk/lib/tkextlib/tktable/tktable.rb, line 77
  def tag_cget(tagOrId, option)
    itemcget(['tag', tagid(tagOrId)], option)
  end

[Source]

# File tk/lib/tkextlib/tktable/tktable.rb, line 83
  def tag_configinfo(tagOrId, slot=nil)
    itemconfiginfo(['tag', tagid(tagOrId)], slot)
  end

[Source]

# File tk/lib/tkextlib/tktable/tktable.rb, line 80
  def tag_configure(tagOrId, slot, value=None)
    itemconfigure(['tag', tagid(tagOrId)], slot, value)
  end

[Source]

# File tk/lib/tkextlib/tktable/tktable.rb, line 90
  def window_cget(tagOrId, option)
    itemcget(['window', tagid(tagOrId)], option)
  end

[Source]

# File tk/lib/tkextlib/tktable/tktable.rb, line 104
  def window_configinfo(tagOrId, slot=nil)
    itemconfiginfo(['window', tagid(tagOrId)], slot)
  end

[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

[Validate]