[Tutor] What does 'Bind Return Key' do?
Matthew Polack
matthew.polack at htlc.vic.edu.au
Sun Apr 28 04:49:20 EDT 2019
Hi,
We're learning Python with PySimpleGUi and have used this example program...
https://github.com/PySimpleGUI/PySimpleGUI/blob/master/ProgrammingClassExamples/Win10%20versions/1d%20PSG%20(named%20input%20keys%20and%20catch%20errors).py
There is a mystery command that says:
[sg.ReadButton('Submit', bind_return_key = False)]]
If I change this 'Bind_Return_Key' value from False to True...or in fact
delete it entirely, it appears to make do difference whatsoever to the
functioning of the program that I can see...
Could someone explain what the purpose of this could be? I'm guessing it
has to have a reason to be there!
Thanks!
--
**Disclaimer: *Whilst every attempt has been made to ensure that material
contained in this email is free from computer viruses or other defects, the
attached files are provided, and may only be used, on the basis that the
user assumes all responsibility for use of the material transmitted. This
email is intended only for the use of the individual or entity named above
and may contain information that is confidential and privileged. If you are
not the intended recipient, please note that any dissemination,
distribution or copying of this email is strictly prohibited. If you have
received this email in error, please notify us immediately by return email
or telephone +61 3 5382 2529** and destroy the original message.*
More information about the Tutor
mailing list