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__!, #current_itemconfiginfo, #itemcget, #itemcget_strict, #itemcget_tkstring, #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_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



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



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



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

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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



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

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



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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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

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



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

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