Chapter 32. Simple Tk Widgets
This chapter describes several simple Tk widgets: the frame, label, labelframe, message, scale, and toplevel. In general, these widgets require minimal setup to be useful in your application. The bell command rings the terminal bell.
This chapter describes six simple widgets and the bell command.
The
frameis a building block for widget layout.A
labelframeis an enhanced frame that also supports the display of a label along its border.A
toplevelis a frame that is detached from the main window.The
labeldisplays read-only text or an image.The
messageprovides a read-only block of text that gets formatted onto several lines.The
scaleis a slider-like widget used to set a numeric value.The
bellcommand rings the terminal ...
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.
Read now
Unlock full access