module Tk::Tcllib::TablelistItemConfig
Public Instance Methods
__item_cget_cmd(mixed_id)
click to toggle source
# File lib/tkextlib/tcllib/tablelist_core.rb, line 63 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 66 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 73 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 76 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 70 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 82 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 79 def cell_configure(tagOrId, slot, value=None) itemconfigure(['cell', tagOrId], slot, value) end
Also aliased as: cellconfigure
column_cget(tagOrId, option)
click to toggle source
# File lib/tkextlib/tcllib/tablelist_core.rb, line 98 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 101 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 95 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 107 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 104 def column_configure(tagOrId, slot, value=None) itemconfigure(['column', tagOrId], slot, value) end
Also aliased as: columnconfigure
current_cell_configinfo(tagOrId, slot=nil)
click to toggle source
# File lib/tkextlib/tcllib/tablelist_core.rb, line 85 def current_cell_configinfo(tagOrId, slot=nil) current_itemconfiginfo(['cell', tagOrId], slot) end
Also aliased as: current_cellconfiginfo
current_column_configinfo(tagOrId, slot=nil)
click to toggle source
# File lib/tkextlib/tcllib/tablelist_core.rb, line 110 def current_column_configinfo(tagOrId, slot=nil) current_itemconfiginfo(['column', tagOrId], slot) end
Also aliased as: current_columnconfiginfo
current_row_configinfo(tagOrId, slot=nil)
click to toggle source
# File lib/tkextlib/tcllib/tablelist_core.rb, line 135 def current_row_configinfo(tagOrId, slot=nil) current_itemconfiginfo(['row', tagOrId], slot) end
Also aliased as: current_rowconfiginfo
row_cget(tagOrId, option)
click to toggle source
# File lib/tkextlib/tcllib/tablelist_core.rb, line 123 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 126 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 120 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 132 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 129 def row_configure(tagOrId, slot, value=None) itemconfigure(['row', tagOrId], slot, value) end
Also aliased as: rowconfigure
Private Instance Methods
_from_idx(idx)
click to toggle source
# File lib/tkextlib/tcllib/tablelist_core.rb, line 49 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 42 def _to_idx(idx) if idx.kind_of?(Array) idx.collect{|elem| _get_eval_string(elem)}.join(',') else idx end end