Module: Tk::Tcllib::TablelistItemConfig

Includes:
TkItemConfigMethod
Defined in:
lib/tkextlib/tcllib/tablelist_core.rb

Constant Summary

Constants included from TkUtil

TkUtil::None, TkUtil::RELEASE_DATE

Instance Method Summary collapse

Methods included from TkItemConfigMethod

#tagid

Methods included from TkItemConfigOptkeys

#__conv_item_keyonly_opts, #itemconfig_hash_kv

Methods included from TkUtil

_conv_args, #_conv_args, #_fromUTF8, _get_eval_enc_str, #_get_eval_enc_str, #_get_eval_string, _get_eval_string, _symbolkey2str, #_symbolkey2str, #_toUTF8, bool, #bool, callback, eval_cmd, #hash_kv, hash_kv, install_cmd, num_or_str, #num_or_str, number, #number, string, #string, uninstall_cmd

Methods included from TkTreatItemFont

#kanjifont_copy, #kanjitagfont_configure, #latintagfont_configure, #latintagfont_copy, #tagfont_configinfo, #tagfont_configure, #tagfont_copy

Instance Method Details

#__item_cget_cmd(mixed_id) ⇒ Object



63
64
65
# 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) ⇒ Object



66
67
68
# 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) ⇒ Object Also known as: cellcget



70
71
72
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 70

def cell_cget(tagOrId, option)
  itemcget(['cell', tagOrId], option)
end

#cell_configinfo(tagOrId, slot = nil) ⇒ Object Also known as: cellconfiginfo



76
77
78
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 76

def cell_configinfo(tagOrId, slot=nil)
  itemconfiginfo(['cell', tagOrId], slot)
end

#cell_configure(tagOrId, slot, value = None) ⇒ Object Also known as: cellconfigure



73
74
75
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 73

def cell_configure(tagOrId, slot, value=None)
  itemconfigure(['cell', tagOrId], slot, value)
end

#column_cget(tagOrId, option) ⇒ Object Also known as: columncget



87
88
89
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 87

def column_cget(tagOrId, option)
  itemcget(['column', tagOrId], option)
end

#column_configinfo(tagOrId, slot = nil) ⇒ Object Also known as: columnconfiginfo



93
94
95
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 93

def column_configinfo(tagOrId, slot=nil)
  itemconfiginfo(['column', tagOrId], slot)
end

#column_configure(tagOrId, slot, value = None) ⇒ Object Also known as: columnconfigure



90
91
92
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 90

def column_configure(tagOrId, slot, value=None)
  itemconfigure(['column', tagOrId], slot, value)
end

#current_cell_configinfo(tagOrId, slot = nil) ⇒ Object Also known as: current_cellconfiginfo



79
80
81
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 79

def current_cell_configinfo(tagOrId, slot=nil)
  current_itemconfiginfo(['cell', tagOrId], slot)
end

#current_column_configinfo(tagOrId, slot = nil) ⇒ Object Also known as: current_columnconfiginfo



96
97
98
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 96

def current_column_configinfo(tagOrId, slot=nil)
  current_itemconfiginfo(['column', tagOrId], slot)
end

#current_row_configinfo(tagOrId, slot = nil) ⇒ Object Also known as: current_rowconfiginfo



113
114
115
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 113

def current_row_configinfo(tagOrId, slot=nil)
  current_itemconfiginfo(['row', tagOrId], slot)
end

#row_cget(tagOrId, option) ⇒ Object Also known as: rowcget



104
105
106
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 104

def row_cget(tagOrId, option)
  itemcget(['row', tagOrId], option)
end

#row_configinfo(tagOrId, slot = nil) ⇒ Object Also known as: rowconfiginfo



110
111
112
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 110

def row_configinfo(tagOrId, slot=nil)
  itemconfiginfo(['row', tagOrId], slot)
end

#row_configure(tagOrId, slot, value = None) ⇒ Object Also known as: rowconfigure



107
108
109
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 107

def row_configure(tagOrId, slot, value=None)
  itemconfigure(['row', tagOrId], slot, value)
end