All rights reserved. Portions of this document might be included in my forthcoming book on rapid application development with Python, to be published by O'Reilly and Associates later this year. 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.
Plain buttons are pretty straightforward to use.
You can also use the height and width options to explicitly set the size. If you display text in the label, these options define the size of the button in text units. See the Button description for an example how to specify the size in pixels also for text labels. Labels can display multiple lines of text. You can use newlines or use the wraplength option to make the label wrap text by itself.