Name
label
- label
pathName
[option value
...] The label command creates a new label widget named
pathName
.
Standard Options
-anchor | -background | -bitmap |
-borderwidth | -cursor | -font |
-foreground | -highlightbackground | -highlightcolor |
-highlightthickness | -image | -justify |
-padx | -pady | -relief |
-takefocus | -text | -textvariable |
-underline | -wraplength |
Widget-Specific Options
- -height
height
(height
,Height
) Desired height, in lines, for text content or in screen units for images or bitmaps. If not set, widget is autosized.
- -width
width
(width
,Width
) Desired width, in characters, for text content or in screen units for images or bitmaps. If not set, widget is autosized.
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.