pythonware.com products ::: library ::: search ::: daily Python-URL!

Library

An Introduction to Tkinter

The Label Widget :::

A Django site.
   

The Label Widget

Back   Next   

 Chapter 30. The Label Widget

The Label widget is a standard Tkinter widget used to display a text or image on the screen. The button can only display text in a single font, but the text may span more than one line. In addition, one of the characters can be underlined, for example to mark a keyboard shortcut.

 When to use the Label Widget

Labels are used to display texts and images. The label widget uses double buffering, so you can update the contents at any time, without annoying flicker.

To display data that the user can manipulate in place, it's probably easier to use the Canvas widget.

Back   Next