I'm new to python and I have a problem. I have created a program with a GUI which have a simple button 'start' and a button 'stop'. In the function start(), I have a loop which I want to stop by pressing on the button 'stop', but during the loop, I can't clik on this button...In the function stop(), I set a flag to true which is the condition to stop the loop. Is someone can help me ??
when you code in a loop, Python doesn't do anything else, so it cannot check whether or not you're pressing a button.
Martin
_________________
Life is what happens to you when you're busy making other plans.
- John Lennon