Mar-27-2020, 05:01 AM
Why wouldn't it be a tkinter (or some other GUI tookit) widget? The base class for widgets is a thing that knows what to do when you click on it or type in it. Sounds like that is something you want. If you need a different appearance you can subclass an existing widget and override the paint method.