[](key)
click to toggle source
def [](key)
cget(key)
end
[]=(key, val)
click to toggle source
def []=(key, val)
configure(key, val)
val
end
cget(key)
click to toggle source
def cget(key)
@tree.itemcget(@id, key)
end
cget_strict(key)
click to toggle source
def cget_strict(key)
@tree.itemcget_strict(@id, key)
end
cget_tkstring(key)
click to toggle source
def cget_tkstring(key)
@tree.itemcget_tkstring(@id, key)
end
close_tree(recurse=None)
click to toggle source
def close_tree(recurse=None)
@tree.close_tree(@id, recurse)
self
end
configinfo(key=nil)
click to toggle source
def configinfo(key=nil)
@tree.itemconfiginfo(@id, key)
end
current_configinfo(key=nil)
click to toggle source
def current_configinfo(key=nil)
@tree.current_itemconfiginfo(@id, key)
end
delete()
click to toggle source
def delete
@tree.delete(@id)
self
end
edit(*args)
click to toggle source
def edit(*args)
@tree.edit(@id, *args)
self
end
exist?()
click to toggle source
def exist?
@tree.exist?(@id)
end
id()
click to toggle source
index()
click to toggle source
def index
@tree.index(@id)
end
move(index, parent=nil)
click to toggle source
def move(index, parent=nil)
if parent
@tree.move(parent, @id, index)
else
@tree.move(self.parent, @id, index)
end
end
mutex()
click to toggle source
open?()
click to toggle source
def open?
bool(@tree.itemcget(@id, 'open'))
end
open_tree(recurse=None)
click to toggle source
def open_tree(recurse=None)
@tree.open_tree(@id, recurse)
self
end
parent()
click to toggle source
def parent
@tree.parent(@id)
end
reorder(neworder)
click to toggle source
def reorder(neworder)
@tree.reorder(@id, neworder)
end
see()
click to toggle source
def see
@tree.see(@id)
end
selection_add()
click to toggle source
def selection_add
@tree.selection_add(@id)
end
selection_remove()
click to toggle source
def selection_remove
@tree.selection_remove(@id)
end
selection_set()
click to toggle source
def selection_set
@tree.selection_set(@id)
end
selection_toggle()
click to toggle source
def selection_toggle
@tree.selection_toggle(@id)
end
toggle()
click to toggle source
def toggle
@tree.toggle(@id)
end
tree()
click to toggle source
visible()
click to toggle source
def visible
@tree.visible(@id)
end