Tkinter Button Command Taking Only Newest Reference In Callback Parameter
Abdur-Rahmaan Janhangeer
arj.python at gmail.com
Mon Jul 8 01:59:16 EDT 2019
Greetings,
I'm doing this project:
https://github.com/Abdur-rahmaanJ/cmdlaunch/blob/master/cmdlaunch/cmdlaunch.py
Everything works fine, except for one thing.
On line 60, the button is taking an object in it's command parameter
If you run the file, you'll see that all the different names are written on
the gui just the callback is takest the newest icon object for all three
buttons
I know just a reference issue but it's been **bugging** me.
Thanks All
--
Abdur-Rahmaan Janhangeer
Mauritius
More information about the Python-list
mailing list