@value.setter
def value(self, value: int):
    "Set bar's value."
    self._value = value
    self.coords('pbar', 0, self.height, self.width, (self.height * (1 - (value / self.maximum))))
Set bar's value.
@value.setter
def value(self, value: int):
    
    self._value = value
    self.coords('pbar', 0, self.height, self.width, (self.height * (1 - (value / self.maximum))))