Get method for Spin

This commit is contained in:
MikeTheWatchGuy 2018-12-09 13:39:27 -05:00
parent a9b775c1b7
commit e6f8dd05b5
2 changed files with 5 additions and 2 deletions

View file

@ -965,6 +965,8 @@ class Spin(Element):
self.QT_Spinner.setDisabled(False)
super().Update(self.QT_Spinner, background_color=background_color, text_color=text_color, font=font, visible=visible)
def Get(self):
return self.QT_Spinner.value()
def __del__(self):
super().__del__()