Hi all! I am using the PyGTK module (it is a great piece of art!) to build a little app. I want it to be able to represent an xml file with a GtkCTree, so that graphical editing of the xml file can be done easily. It is mostly done, except for the copy/cut/paste part of the program. I want to be able to copy a part of the tree to a hidden clipboard-GtkCTree, from where it can later be pasted again to another part of the first GtkCTree. The problem: when I have a GtkCTree node, say node1, and I say node2=node1, then node2 is NOT a copy of node1. node2 and node1 are pointers to the same node object instance! How do I overcome this, so that node1 and node2 point to copies of the same object? Thank you for any help on this! Greetings, ----------------------------------------- Chris Venter Digital Signal Processing University of Stellenbosch email: [EMAIL PROTECTED] homepage: http://www.dsp.sun.ac.za/~chris Bean me up, Scotty. ----------------------------------------- - To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
