

def SetYPlacement(self, value):
    if (value.lower() not in self.yplacement_vals):
        raise DialogException(('value %s not one of %s' % (value, self.yplacement_vals)))
    self._yplacement = value.lower()

dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/cocoadialog.py Bubble.SetYPlacement/original