module Tk::Tcllib::TablelistItemConfig - tk-0.2.0 Documentation

# module Tk::Tcllib::TablelistItemConfig

### Public Instance Methods

__item_cget_cmd(mixed_id) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 64
    def __item_cget_cmd(mixed_id)
      [self.path, mixed_id[0] + 'cget', _to_idx(mixed_id[1])]
    end

__item_config_cmd(mixed_id) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 67
    def __item_config_cmd(mixed_id)
      [self.path, mixed_id[0] + 'configure', _to_idx(mixed_id[1])]
    end

cell_cget(tagOrId, option) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 74
    def cell_cget(tagOrId, option)
      itemcget(['cell', tagOrId], option)
    end

Also aliased as: cellcget
cell_cget_strict(tagOrId, option) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 77
    def cell_cget_strict(tagOrId, option)
      itemcget_strict(['cell', tagOrId], option)
    end

Also aliased as: cellcget_strict
cell_cget_tkstring(tagOrId, option) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 71
    def cell_cget_tkstring(tagOrId, option)
      itemcget_tkstring(['cell', tagOrId], option)
    end

Also aliased as: cellcget_tkstring
cell_configinfo(tagOrId, slot=nil) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 83
    def cell_configinfo(tagOrId, slot=nil)
      itemconfiginfo(['cell', tagOrId], slot)
    end

Also aliased as: cellconfiginfo
cell_configure(tagOrId, slot, value=None) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 80
    def cell_configure(tagOrId, slot, value=None)
      itemconfigure(['cell', tagOrId], slot, value)
    end

Also aliased as: cellconfigure
cellcget(tagOrId, option)
Alias for: cell_cget
cellcget_strict(tagOrId, option)
Alias for: cell_cget_strict
cellcget_tkstring(tagOrId, option)
Alias for: cell_cget_tkstring
cellconfiginfo(tagOrId, slot=nil)
Alias for: cell_configinfo
cellconfigure(tagOrId, slot, value=None)
Alias for: cell_configure
column_cget(tagOrId, option) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 99
    def column_cget(tagOrId, option)
      itemcget(['column', tagOrId], option)
    end

Also aliased as: columncget
column_cget_strict(tagOrId, option) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 102
    def column_cget_strict(tagOrId, option)
      itemcget_strict(['column', tagOrId], option)
    end

Also aliased as: columncget_strict
column_cget_tkstring(tagOrId, option) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 96
    def column_cget_tkstring(tagOrId, option)
      itemcget_tkstring(['column', tagOrId], option)
    end

Also aliased as: columncget_tkstring
column_configinfo(tagOrId, slot=nil) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 108
    def column_configinfo(tagOrId, slot=nil)
      itemconfiginfo(['column', tagOrId], slot)
    end

Also aliased as: columnconfiginfo
column_configure(tagOrId, slot, value=None) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 105
    def column_configure(tagOrId, slot, value=None)
      itemconfigure(['column', tagOrId], slot, value)
    end

Also aliased as: columnconfigure
columncget(tagOrId, option)
Alias for: column_cget
columncget_strict(tagOrId, option)
Alias for: column_cget_strict
columncget_tkstring(tagOrId, option)
Alias for: column_cget_tkstring
columnconfiginfo(tagOrId, slot=nil)
Alias for: column_configinfo
columnconfigure(tagOrId, slot, value=None)
Alias for: column_configure
current_cell_configinfo(tagOrId, slot=nil) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 86
    def current_cell_configinfo(tagOrId, slot=nil)
      current_itemconfiginfo(['cell', tagOrId], slot)
    end

Also aliased as: current_cellconfiginfo
current_cellconfiginfo(tagOrId, slot=nil)
Alias for: current_cell_configinfo
current_column_configinfo(tagOrId, slot=nil) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 111
    def current_column_configinfo(tagOrId, slot=nil)
      current_itemconfiginfo(['column', tagOrId], slot)
    end

Also aliased as: current_columnconfiginfo
current_columnconfiginfo(tagOrId, slot=nil)
Alias for: current_column_configinfo
current_row_configinfo(tagOrId, slot=nil) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 136
    def current_row_configinfo(tagOrId, slot=nil)
      current_itemconfiginfo(['row', tagOrId], slot)
    end

Also aliased as: current_rowconfiginfo
current_rowconfiginfo(tagOrId, slot=nil)
Alias for: current_row_configinfo
row_cget(tagOrId, option) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 124
    def row_cget(tagOrId, option)
      itemcget(['row', tagOrId], option)
    end

Also aliased as: rowcget
row_cget_strict(tagOrId, option) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 127
    def row_cget_strict(tagOrId, option)
      itemcget_strict(['row', tagOrId], option)
    end

Also aliased as: rowcget_strict
row_cget_tkstring(tagOrId, option) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 121
    def row_cget_tkstring(tagOrId, option)
      itemcget_tkstring(['row', tagOrId], option)
    end

Also aliased as: rowcget_tkstring
row_configinfo(tagOrId, slot=nil) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 133
    def row_configinfo(tagOrId, slot=nil)
      itemconfiginfo(['row', tagOrId], slot)
    end

Also aliased as: rowconfiginfo
row_configure(tagOrId, slot, value=None) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 130
    def row_configure(tagOrId, slot, value=None)
      itemconfigure(['row', tagOrId], slot, value)
    end

Also aliased as: rowconfigure
rowcget(tagOrId, option)
Alias for: row_cget
rowcget_strict(tagOrId, option)
Alias for: row_cget_strict
rowcget_tkstring(tagOrId, option)
Alias for: row_cget_tkstring
rowconfiginfo(tagOrId, slot=nil)
Alias for: row_configinfo
rowconfigure(tagOrId, slot, value=None)
Alias for: row_configure

### Private Instance Methods

_from_idx(idx) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 50
    def _from_idx(idx)
      return idx unless idx.kind_of?(String)

      if idx[0] == ?@  # '@x,y'
        idx
      elsif idx =~ /([^,]+),([^,]+)/
        row = $1, column = $2
        [num_or_str(row), num_or_str(column)]
      else
        num_or_str(idx)
      end
    end

_to_idx(idx) click to toggle source

    # File lib/tkextlib/tcllib/tablelist_core.rb, line 43
    def _to_idx(idx)
      if idx.kind_of?(Array)
        idx.collect{|elem| _get_eval_string(elem)}.join(',')
      else
        idx
      end
    end