# File tk/lib/tkextlib/blt/treeview.rb, line 102
def column_cget(name, option)
itemcget(['column', name], option)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 105
def column_cget_strict(name, option)
itemcget_strict(['column', name], option)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 99
def column_cget_tkstring(name, option)
itemcget_tkstring(['column', name], option)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 111
def column_configinfo(name, slot=nil)
itemconfiginfo(['column', name], slot)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 108
def column_configure(name, slot, value=None)
itemconfigure(['column', name], slot, value)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 114
def current_column_configinfo(name, slot=nil)
current_itemconfiginfo(['column', name], slot)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 184
def current_entry_configinfo(slot=nil)
ret = current_itemconfiginfo('entry', slot)
if (val = ret['bindtags'])
ret['bindtags'] = val.collect{|tag| TkBindTag.id2obj(tag)}
end
ret
end
# File tk/lib/tkextlib/blt/treeview.rb, line 209
def current_sort_configinfo(slot=nil)
current_itemconfiginfo('sort', slot)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 228
def current_text_configinfo(slot=nil)
current_itemconfiginfo('text', slot)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 140
def entry_cget(option)
ret = itemcget('entry', option)
if option == 'bindtags' || option == :bindtags
ret.collect{|tag| TkBindTag.id2obj(tag)}
else
ret
end
end
# File tk/lib/tkextlib/blt/treeview.rb, line 148
def entry_cget_strict(option)
ret = itemcget_strict('entry', option)
if option == 'bindtags' || option == :bindtags
ret.collect{|tag| TkBindTag.id2obj(tag)}
else
ret
end
end
# File tk/lib/tkextlib/blt/treeview.rb, line 137
def entry_cget_tkstring(option)
itemcget_tkstring('entry', option)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 159
def entry_configinfo(slot=nil)
ret = itemconfiginfo('entry', slot)
if TkComm::GET_CONFIGINFO_AS_ARRAY
if slot
if slot == 'bindtags' || slot == :bindtags
ret[-2] = ret[-2].collect{|tag| TkBindTag.id2obj(tag)}
ret[-1] = ret[-1].collect{|tag| TkBindTag.id2obj(tag)}
end
else
inf = ret.assoc('bindtags')
inf[-2] = inf[-2].collect{|tag| TkBindTag.id2obj(tag)}
inf[-1] = inf[-1].collect{|tag| TkBindTag.id2obj(tag)}
end
else # ! TkComm::GET_CONFIGINFO_AS_ARRAY
if (inf = ret['bindtags'])
inf[-2] = inf[-2].collect{|tag| TkBindTag.id2obj(tag)}
inf[-1] = inf[-1].collect{|tag| TkBindTag.id2obj(tag)}
ret['bindtags'] = inf
end
end
ret
end
# File tk/lib/tkextlib/blt/treeview.rb, line 156
def entry_configure(slot, value=None)
itemconfigure('entry', slot, value)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 197
def sort_cget(option)
itemcget('sort', option)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 200
def sort_cget_strict(option)
itemcget_strict('sort', option)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 194
def sort_cget_tkstring(option)
itemcget_tkstring('sort', option)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 206
def sort_configinfo(slot=nil)
itemconfiginfo('sort', slot)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 203
def sort_configure(slot, value=None)
itemconfigure('sort', slot, value)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 216
def text_cget(option)
itemcget('text', option)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 219
def text_cget_strict(option)
itemcget_strict('text', option)
end
# File tk/lib/tkextlib/blt/treeview.rb, line 213
def text_cget_tkstring(option)
itemcget_tkstring('text', option)
end
Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.
If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.