disablebutton tkinter code example
Example 1: make tkinter button disable
button['state'] = 'disabled'
Example 2: make tkinter btn disable
btn1['state'] = 'normal'
btn1['state'] = 'disabled'
button['state'] = 'disabled'
btn1['state'] = 'normal'
btn1['state'] = 'disabled'