How does the object-oriented approach of Toe fit with Tk widgets?
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
- I’ve got a Lean implementation going. How does this fit with the Lean approach?
- I’ve got a Lean implementation going. How does this fit with the Lean approach?
- What Is The Traditional And Object-oriented Approach To System Development?
- What Is The Traditional And Object-oriented Approach To System Development?
- How do I fit the Principle Approach to children with special needs?
- How does the object-oriented approach of Toe fit with Tk widgets?