'Create and return a new output :class:`AnchorPoint`.'

def newOutputAnchor(self):

    if (not (self.widget_description and self.widget_description.outputs)):
        raise ValueError('Widget    has    no    outputs.')
    anchor = AnchorPoint(self)
    self.outputAnchorItem.addAnchor(anchor, position=1.0)
    positions = self.outputAnchorItem.anchorPositions()
    positions = uniform_linear_layout(positions)
    self.outputAnchorItem.setAnchorPositions(positions)
    return anchor
