Update method for InputText element

This commit is contained in:
MikeTheWatchGuy 2018-08-20 21:59:00 -04:00
parent 4667a2f3ff
commit c482dee57e
1 changed files with 2 additions and 0 deletions

View File

@ -236,6 +236,8 @@ class InputText(Element):
super().__init__(ELEM_TYPE_INPUT_TEXT, scale=scale, size=size, auto_size_text=auto_size_text, background_color=bg, text_color=fg, key=key)
def Update(self, new_value):
self.TKStringVar.set(new_value)
def __del__(self):
super().__del__()