Merge pull request #851 from MikeTheWatchGuy/Dev-latest

Dev latest
This commit is contained in:
MikeTheWatchGuy 2018-12-05 11:29:26 -05:00 committed by GitHub
commit 4e970f0e4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 79 additions and 18 deletions

View file

@ -1514,6 +1514,14 @@ class Button(Element):
def GetText(self):
return self.ButtonText
def SetFocus(self):
try:
self.TKButton.focus_set()
except:
pass
def __del__(self):
try:
self.TKButton.__del__()