(self, data)
return node
Creates a new node and adds this
        node as children of current node

        :param data: the internal node data
Creates a new node and adds this
        node as children of current node
Creates a new node and adds this node as children of current node
def newNode(self, data):
        """Creates a new node and adds this
        node as children of current node

        :param data: the internal node data
        """
        node = GTreeNodeGP(data, self)
        self.addChild(node)
        return node
def newNode ( self , data ) : node = GTreeNodeGP ( data , self ) self . addChild ( node ) return node