Skip to Content
Tkinter GUI Application Development Blueprints, Second Edition - Second Edition
book

Tkinter GUI Application Development Blueprints, Second Edition - Second Edition

by Bhaskar Chaudhary
March 2018
Beginner to intermediate
422 pages
10h 33m
English
Packt Publishing
Content preview from Tkinter GUI Application Development Blueprints, Second Edition - Second Edition

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, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Tkinter GUI Application Development Blueprints

Tkinter GUI Application Development Blueprints

Bhaskar Chaudhary

Publisher Resources

ISBN: 9781788837460Supplemental Content