- NAME
- ttk::label — Display a text string and/or image
- SYNOPSIS
- DESCRIPTION
- STANDARD OPTIONS
- -anchor, anchor, Anchor
- -class, undefined, undefined
- -compound, compound, Compound
- -cursor, cursor, Cursor
- -font, font, Font
- -foreground, textColor, TextColor
- -image, image, Image
- -justify, justify, Justify
- -padding, padding, Padding
- -style, style, Style
- -takefocus, takeFocus, TakeFocus
- -text, text, Text
- -textvariable, textVariable, Variable
- -underline, underline, Underline
- -width, width, Width
- -wraplength, wrapLength, WrapLength
- WIDGET-SPECIFIC OPTIONS
- -background, frameColor, FrameColor
- -relief, relief, Relief
- WIDGET COMMAND
- SEE ALSO
ttk::label — Display a text string and/or image
ttk::label pathName ?options?
A ttk::label widget displays a textual label and/or image.
The label may be linked to a Tcl variable
to automatically change the displayed text.
- -anchor, anchor, Anchor
- -class, undefined, undefined
- -compound, compound, Compound
- -cursor, cursor, Cursor
- -font, font, Font
- -foreground, textColor, TextColor
- -image, image, Image
- -justify, justify, Justify
- -padding, padding, Padding
- -style, style, Style
- -takefocus, takeFocus, TakeFocus
- -text, text, Text
- -textvariable, textVariable, Variable
- -underline, underline, Underline
- -width, width, Width
- -wraplength, wrapLength, WrapLength
- Command-Line Name: -background
- Database Name: frameColor
- Database Class: FrameColor
- The widget's background color.
If unspecified, the theme default is used.
- Command-Line Name: -relief
- Database Name: relief
- Database Class: Relief
- Specifies the 3-D effect desired for the widget border.
Valid values are
flat, groove, raised, ridge, solid,
and sunken.
Supports the standard widget commands
configure, cget, identify, instate, and state;
see ttk::widget(n).
ttk::widget, label
Copyright © 2004 Joe English