O'Reilly logo

Tkinter GUI Application Development Blueprints - Second Edition by Bhaskar Chaudhary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Miscellaneous

The following is a list of miscellaneous widgets offered by Pmw:

  • Balloon
  • Blt (used for graph generation)
  • The Color Module functions
Pmw offers a large list of extended widgets. For a demonstration of all these widgets, browse the Pmw package that you installed earlier and look for a directory named demo. Within demo, look for a file named All.py, which demonstrates all of these Pmw extensions with a sample working code.

Pmw provides the Balloon widget implementation, which will be used in the current example. Begin by importing Pmw into the namespace, as follows (see code 5.09view.py):

import Pmw 

Next, instantiate the Balloon widget within the create_gui method, as follows:

self.balloon = Pmw.Balloon(self.root) 

Finally, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required