Method: Tk::BLT::Tree#copy

Defined in:
lib/tkextlib/blt/tree.rb

#copy(src, parent, keys = {}) ⇒ Object



704
705
706
707
708
# File 'lib/tkextlib/blt/tree.rb', line 704

def copy(src, parent, keys={})
  id = tk_call('::blt::tree', 'copy', tagid(src), tagid(parent),
               __conv_keyonly_opts(keys))
  Tk::BLT::Tree::Node.new(self, nil, 'node'=>id)
end