def METHOD_NAME(self):
    value = self._widthValue.GetValue()
    try:
        value = float(value)
        self._controller.SetWidthValue(value)
    except ValueError:
        self._controller.SetWidthValue(0)
        return