added .focus() for CTkEntry

This commit is contained in:
Tom Schimansky 2022-06-28 11:26:43 +02:00
parent e15bc5933d
commit 16b9ce3c5f

View File

@ -218,3 +218,9 @@ class CTkEntry(CTkBaseClass):
return ""
else:
return self.entry.get()
def focus(self):
self.entry.focus()
def focus_force(self):
self.entry.focus_force()