python gui how to make button un clickable code example
Example: add a button on tkinter
import tkinter
button1 = ttk.Button(self, text="anything", command=random command)
button1.pack()
import tkinter
button1 = ttk.Button(self, text="anything", command=random command)
button1.pack()