type: a list of the horizontal and vertical alignment or one of topLeft, top, topRight, left, center, right, bottomLeft, bottom, or bottomRight
Alignment of the text.
type: string
User defined data which can be retrieved via the cget subcommand.
type: string (default: "")
heightGroup can be an arbitrary string. All widgets with the same heightGroup request the same height. If packed with the fill flag set, they will have nevertheless different heights.
type: ONEOF left, right, center, fill (default: left)
Determines the justification of the text lines. Has no effect if the label has only one line of text.
type: integer
The maximum size of the widget in characters. This option is available since GTK+ 2.6.0
type: Wiget-ID (default: "")
Widget which is activated for keyboard navigation.
type: boolean (default: 0)
Whether the text can be selected.
type: boolean (default: 1)
Whether or not the item is sensitve to user input.
type: string (default: "")
sizeGroup can be an arbitrary string. All widgets with the same sizeGroup request the same size. If packed with the fill flag set, they will have nevertheless different sizes.
type: percent-string (default: "")
Text of the label.
type: boolean (default: 1)
Whether or not the item is visible.
type: string (default: "")
widthGroup can be an arbitrary string. All widgets with the same widthGroup request the same width. If packed with the fill flag set, they will have nevertheless different widths.
type: integer
Size of the widget in characters. This option is available since GTK+ 2.6.0
type: boolean (default: 0)
Whether the text should be automatically wrapped.
type: integer (default: 0)
Horizontal padding.
type: integer (default: 0)
Vertical padding.
A label displays a small to medium amount of text. With the help of embedded markup commands the text inside a label can even have different fonts, colors etc.
id cget option
Returns the value for one option. The option may have any of the values accepted by configure.
id configure [-option value...]
Configures the widget. Option may have any of the values accepted on creation of the widget.
id delete
Deletes the widget and the associated tcl command.