Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does the object-oriented approach of Toe fit with Tk widgets?

0
Posted

How does the object-oriented approach of Toe fit with Tk widgets?

0

A fundamental and unavoidable difference exists between Tk widgets and object-oriented design. Tk widgets are structured in a containment hierarchy, whereas OO classes are structured in an inheritance hierarchy. To use a term of art, the impedance between a set of related programmable objects and a set of related graphical widgets can be reduced by design, but not eliminated. The encapsulation of widgets in objects is encouraged anyway, so that introspection services and cross-cutting aspects can be applied to widget-containing objects. See, for example, the Samples section.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123