Demo updates with new theme calls

This commit is contained in:
PySimpleGUI 2019-12-24 18:52:47 -05:00
parent 52700b0780
commit 5484b047c0
96 changed files with 3530 additions and 228 deletions

View file

@ -59,14 +59,15 @@ def main():
login_password_hash = '6adfb183a4a2c94a2f92dab5ade762a47889a5a1' # helloworld
password = sg.popup_get_text(
'Password: (type gui for other window)', password_char='*')
if password and password == 'gui': # Remove when pasting into your program
HashGeneratorGUI() # Remove when pasting into your program
return # Remove when pasting into your program
if PasswordMatches(password, login_password_hash):
if password == 'gui': # Remove when pasting into your program
HashGeneratorGUI() # Remove when pasting into your program
return # Remove when pasting into your program
if password and PasswordMatches(password, login_password_hash):
print('Login SUCCESSFUL')
else:
print('Login FAILED!!')
if __name__ == '__main__':
sg.theme('DarkAmber')
main()