Commit 9ee0fe34 authored by tobias.dussa's avatar tobias.dussa

Merge branch 'master' into Windows

parents 35ea2784 ae43b1fa
...@@ -46,6 +46,9 @@ class _QueryPassword(_QueryPasswordDialog): ...@@ -46,6 +46,9 @@ class _QueryPassword(_QueryPasswordDialog):
entry.configure(show=self.__show) entry.configure(show=self.__show)
return entry return entry
def getresult(self):
return self.entry.get()
def askpassword(title, prompt, **kw): def askpassword(title, prompt, **kw):
d = _QueryPassword(title, prompt, **kw) d = _QueryPassword(title, prompt, **kw)
return d.result return d.result
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment