Module: Tk::Tcllib::TablelistItemConfig

Includes:
TkItemConfigMethod
Included in:
Tablelist
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

__IGNORE_UNKNOWN_CONFIGURE_OPTION__, #__check_available_itemconfigure_options, #__current_itemconfiginfo, __set_IGNORE_UNKNOWN_CONFIGURE_OPTION__!, #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_nil, #num_or_nil, #num_or_str, num_or_str, #number, number, string, #string, uninstall_cmd, untrust

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


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

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

#cell_cget_strict(tagOrId, option) ⇒ Object Also known as: cellcget_strict


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

def cell_cget_strict(tagOrId, option)
  itemcget_strict(['cell', tagOrId], option)
end

#cell_cget_tkstring(tagOrId, option) ⇒ Object Also known as: cellcget_tkstring


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

def cell_cget_tkstring(tagOrId, option)
  itemcget_tkstring(['cell', tagOrId], option)
end

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


82
83
84
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 82

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

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


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

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

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


98
99
100
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 98

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

#column_cget_strict(tagOrId, option) ⇒ Object Also known as: columncget_strict


101
102
103
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 101

def column_cget_strict(tagOrId, option)
  itemcget_strict(['column', tagOrId], option)
end

#column_cget_tkstring(tagOrId, option) ⇒ Object Also known as: columncget_tkstring


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

def column_cget_tkstring(tagOrId, option)
  itemcget_tkstring(['column', tagOrId], option)
end

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


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

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

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


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

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


85
86
87
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 85

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


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

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


135
136
137
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 135

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

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


123
124
125
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 123

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

#row_cget_strict(tagOrId, option) ⇒ Object Also known as: rowcget_strict


126
127
128
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 126

def row_cget_strict(tagOrId, option)
  itemcget_strict(['row', tagOrId], option)
end

#row_cget_tkstring(tagOrId, option) ⇒ Object Also known as: rowcget_tkstring


120
121
122
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 120

def row_cget_tkstring(tagOrId, option)
  itemcget_tkstring(['row', tagOrId], option)
end

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


132
133
134
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 132

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

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


129
130
131
# File 'lib/tkextlib/tcllib/tablelist_core.rb', line 129

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