Reputation: 273
I was wondering if there was a way to make a slider static under certain conditions, i.e. the program is under trial license.
One solution I've thought up was putting an image instead of a slider, but I'd prefer a static slider.
Is there a way I could do this?
Thanks!!
Upvotes: 0
Views: 62
Reputation: 20679
You can use the state=DISABLED
option in the constructor, which is allowed in almost all Tkinter widgets.
Upvotes: 3