(self, data)
return node
Created a new child node

        :param data: the data of the new created node
Created a new child node
Created a new child node
def newNode(self, data):
        """ Created a new child node

        :param data: the data of the new created node
        """
        node = GTreeNode(data, self)
        self.addChild(node)
        return node
def newNode ( self , data ) : node = GTreeNode ( data , self ) self . addChild ( node ) return node