Module: Tk::Tcllib::TablelistItemConfig

Includes:
TkItemConfigMethod
Included in:
Tablelist
Defined in:
ext/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__!, #current_itemconfiginfo, #itemcget, #itemcget_strict, #itemconfiginfo, #itemconfigure, #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 'ext/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 'ext/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 'ext/lib/tkextlib/tcllib/tablelist_core.rb', line 70

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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



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

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



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

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



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

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

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



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

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

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



115
116
117
# File 'ext/lib/tkextlib/tcllib/tablelist_core.rb', line 115

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

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



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

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

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



118
119
120
# File 'ext/lib/tkextlib/tcllib/tablelist_core.rb', line 118

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