ancestor?(des)
click to toggle source
ancestors()
click to toggle source
def ancestors
@tree.item_ancestors(@id)
end
bbox(*args)
click to toggle source
def bbox(*args)
@tree.item_bbox(@id, *args)
end
cget(opt)
click to toggle source
def cget(opt)
@tree.item_cget(@id, opt)
end
cget_strict(opt)
click to toggle source
def cget_strict(opt)
@tree.item_cget_strict(@id, opt)
end
cget_tkstring(opt)
click to toggle source
def cget_tkstring(opt)
@tree.item_cget_tkstring(@id, opt)
end
children()
click to toggle source
def children
@tree.item_children(@id)
end
children_size()
click to toggle source
collapse()
click to toggle source
def collapse
@tree.item_collapse(@id)
self
end
collapse_recurse()
click to toggle source
def collapse_recurse
@tree.item_collapse_recurse(@id)
self
end
complex(*args)
click to toggle source
def complex(*args)
@tree.item_complex(@id, *args)
self
end
configinfo(*args)
click to toggle source
def configinfo(*args)
@tree.item_configinfo(@id, *args)
end
current_configinfo(*args)
click to toggle source
def current_configinfo(*args)
@tree.current_item_configinfo(@id, *args)
end
current_element_configinfo(*args)
click to toggle source
def current_element_configinfo(*args)
@tree.current_item_element_configinfo(@id, *args)
end
delete()
click to toggle source
def delete
@tree.item_delete(@id)
self
end
element_actual(column, elem, key)
click to toggle source
def element_actual(column, elem, key)
@tree.item_element_actual(@id, column, elem, key)
end
element_cget_strict(opt)
click to toggle source
def element_cget_strict(opt)
@tree.item_element_cget_strict(@id, opt)
end
element_cget_tkstring(opt)
click to toggle source
def element_cget_tkstring(opt)
@tree.item_element_cget(@id, opt)
end
element_configinfo(*args)
click to toggle source
def element_configinfo(*args)
@tree.item_element_configinfo(@id, *args)
end
element_dump()
click to toggle source
def element_dump
@tree.item_dump(@id)
end
element_dump_hash()
click to toggle source
def element_dump_hash
@tree.item_dump_hash(@id)
end
expand()
click to toggle source
def expand
@tree.item_expand(@id)
self
end
expand_recurse()
click to toggle source
def expand_recurse
@tree.item_expand_recurse(@id)
self
end
first_child(child=nil)
click to toggle source
firstchild(child=nil)
click to toggle source
def firstchild(child=nil)
if child
@tree.item_firstchild(@id, child)
self
else
@tree.item_firstchild(@id)
end
end
id()
click to toggle source
index()
click to toggle source
def index
@tree.item_index(@id)
end
is_ancestor(des)
click to toggle source
is_ancestor?(des)
click to toggle source
is_open()
click to toggle source
is_open?()
click to toggle source
is_opened?()
click to toggle source
isancestor(des)
click to toggle source
def isancestor(des)
@tree.item_isancestor(@id, des)
end
isancestor?(des)
click to toggle source
isopen()
click to toggle source
def isopen
@tree.item_isopen(@id)
end
isopen?()
click to toggle source
isopened?()
click to toggle source
item_text(column, txt=nil, *args)
click to toggle source
def item_text(column, txt=nil, *args)
if args.empty?
if txt
@tree.item_text(@id, column, txt)
self
else
@tree.item_text(@id, column)
end
else
@tree.item_text(@id, column, txt, *args)
self
end
end
last_child(child=nil)
click to toggle source
lastchild(child=nil)
click to toggle source
def lastchild(child=nil)
if child
@tree.item_lastchild(@id, child)
self
else
@tree.item_lastchild(@id)
end
end
next_sibling(nxt=nil)
click to toggle source
nextsibling(nxt=nil)
click to toggle source
def nextsibling(nxt=nil)
if nxt
@tree.item_nextsibling(@id, nxt)
self
else
@tree.item_nextsibling(@id)
end
end
num_children()
click to toggle source
numchildren()
click to toggle source
def numchildren
@tree.item_numchildren(@id)
end
open?()
click to toggle source
parent_index()
click to toggle source
def parent_index
@tree.item_parent(@id)
end
prev_sibling(nxt=nil)
click to toggle source
prevsibling(nxt=nil)
click to toggle source
def prevsibling(nxt=nil)
if nxt
@tree.item_prevsibling(@id, nxt)
self
else
@tree.item_prevsibling(@id)
end
end
remove()
click to toggle source
def remove
@tree.item_remove(@id)
end
rnc()
click to toggle source
def rnc
@tree.item_rnc(@id)
end
sort(*opts)
click to toggle source
def sort(*opts)
@tree.item_sort(@id, *opts)
end
sort_not_really(*opts)
click to toggle source
def sort_not_really(*opts)
@tree.item_sort_not_really(@id, *opts)
self
end
state_for_column(column, *args)
click to toggle source
state_forcolumn(column, *args)
click to toggle source
def state_forcolumn(column, *args)
@tree.item_state_forcolumn(@id, column, *args)
self
end
state_get(*args)
click to toggle source
def state_get(*args)
@tree.item_state_get(@id, *args)
end
state_set(*args)
click to toggle source
def state_set(*args)
@tree.item_state_set(@id, *args)
self
end
style_elements(column)
click to toggle source
def style_elements(column)
@tree.item_style_elements(@id, column)
end
style_map(column, style, map)
click to toggle source
def style_map(column, style, map)
@tree.item_style_map(@id, column, style, map)
self
end
style_set(column=nil, *args)
click to toggle source
def style_set(column=nil, *args)
if args.empty?
@tree.item_style_set(@id, column)
else
@tree.item_style_set(@id, column, *args)
self
end
end
to_s()
click to toggle source
def to_s
@id.to_s.dup
end
toggle()
click to toggle source
def toggle
@tree.item_toggle(@id)
self
end
toggle_recurse()
click to toggle source
def toggle_recurse
@tree.item_toggle_recurse(@id)
self
end
visible(st=None)
click to toggle source
def visible(st=None)
if st == None
@tree.item_visible(@id)
else
@tree.item_visible(@id, st)
self
end
end