From: Donal K. Fellows on
On 17 Dec, 09:05, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
> expose and redraw events are handled in the eventloop but behind
> the scenes in Tk. The information present on most widgets is
> sufficient to handle these events without taking recourse to
> application specific programming.
>
> Tk is the holy grail of implicitness ?

If we use MVC terminology, at the level that Tk operates, it manages
both the View and the Controller almost completely for you. All you
have to do is supply the Model and it looks after the rest.

Well, not quite. For the canvas widget you need to do more since its
default Controller does very little in response to user actions (like
mouse clicks) though it actually does do a lot behind the scenes
redrawing as needed and identifying the current item. The text widget
does much more for you, but some advanced behaviors (e.g., hyperlinks)
still need a little extra work.

Donal.