Developing a bare bone GUI framework

One of the most important lessons aimed in this project is to learn to develop custom GUI frameworks. Tkinter in itself is a GUI framework. However, the kind of framework we intend to build here is a higher-level framework, built on top of Tkinter to suit our custom programming needs.

We will not develop a full-blown framework. Rather, we will develop only a small segment of it to give you a flavor of building a custom framework.

Prepare for Lift Off

So why do we need another framework on top of Tkinter?

Consider a large program which has say 10 different menus, each menu having say 10 menu items. We will have to then write 100 lines of code simply to display these 100 menu items.

You not only need to make each ...

Get Tkinter GUI Application Development HOTSHOT now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.