Jul-08-2021, 07:44 PM
I can't decide if using disabledimage and state is a clever or really stupid idea. I'm leaning toward stupid and think Label is a much better choice for making an indicator lamp type widget. I only wrote the canvas/image version to provide ideas on how such a thing can be done. And also to show how you can dive in and get information about tkinter. I don't do a lot of tkinter programming, but from my limited experience I don't think the canvas fits in well with the other widgets. Everything except the canvas works one way, and the canvas does everything different. If I never had a need for scrolling views I wouldn't use the canvas at all (unless I needed something to draw on).