Skip to content Skip to sidebar Skip to footer

Python Tkinter Button.invoke Method Trouble

I'm playing about with a motion controller, therefore to 'click' a button I am finding out which button is closest to the middle at any given point and then using the button.invoke

Solution 1:

Are you saying that mainloop runs in a separate thread from where you create the widgets? If so, that's your problem. You can only ever call tkinter functions from one thread.


Post a Comment for "Python Tkinter Button.invoke Method Trouble"