I am at the end of a build and am putting some minor touches on and testing; one area I suppose I took for granted (and have honestly not seen a need yet to fully deal with) is the Tkinter buttons. The buttons perform fine overall as to their function; I wish though to completely disable the buttons upon a user selecting them for input. I thought this worked fine as when the button was activated it changed appearance which I took to represent "disabled" and I have not run into the issue in the past knowingly with it.
When the user uses this button, if they do and only then, the button should be completely disabled-- now when I test the button the button darkens (see image below) but it still remains active in the sense that it appears disabled but still allows user input. Strange.
Is "disable" in Tkinter only for appearance? I would think not-- this would make little sense. I do not care what the button looks like, only that it is fully deactivated.
Code used for this button disabling
btn1.config(state = DISABLED)
**Note please disregard the size change of buttons below; this is not an element of the widget-- it has something to do with the image upload to URL image host.
Before User Selection
[IMG]http://i52.photobucket.com/albums/g31/reranger/green.gif[/IMG]
After User Selection\ still works allowing input
[IMG]http://i52.photobucket.com/albums/g31/reranger/disable1.jpg[/IMG]
Thank-you in advance for any help.
Regards,
Matty D