Lines Matching defs:tree
2 # tkextlib/bwidget/tree.rb
322 def self.id2obj(tree, id)
323 tpath = tree.path
333 def initialize(tree, *args)
334 if tree.kind_of?(Tk::BWidget::Tree)
335 @tree = tree
338 if parent.tree.path != @tree.path
339 fail RuntimeError, 'tree of parent node is not match'
342 elsif tree.kind_of?(Tk::BWidget::Tree::Node)
343 @tree = tree.tree
344 parent = tree.parent
366 @tpath = @tree.path
383 @tree.insert(index, parent, @id, keys)
386 def tree
387 @tree
404 @tree.itemcget_tkstring(@id, key)
407 @tree.itemcget(@id, key)
410 @tree.itemcget_strict(@id, key)
414 @tree.itemconfigure(@id, key, val)
418 @tree.itemconfiginfo(@id, key)
422 @tree.current_itemconfiginfo(@id, key)
426 @tree.close_tree(@id, recurse)
431 @tree.delete(@id)
436 @tree.edit(@id, *args)
441 @tree.exist?(@id)
445 @tree.index(@id)
450 @tree.move(parent, @id, index)
452 @tree.move(self.parent, @id, index)
457 @tree.open_tree(@id, recurse)
462 bool(@tree.itemcget(@id, 'open'))
466 @tree.parent(@id)
470 @tree.reorder(@id, neworder)
474 @tree.see(@id)
478 @tree.selection_add(@id)
482 @tree.selection_remove(@id)
486 @tree.selection_set(@id)
490 @tree.selection_toggle(@id)
494 @tree.toggle(@id)
498 @tree.visible(@id)