1ttk::label(n)                  Tk Themed Widget                  ttk::label(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       ttk::label - Display a text string and/or image
9

SYNOPSIS

11       ttk::label pathName ?options?
12______________________________________________________________________________
13

DESCRIPTION

15       A  ttk::label  widget displays a textual label and/or image.  The label
16       may be linked to a Tcl variable to automatically change  the  displayed
17       text.
18

STANDARD OPTIONS

20       -class                -compound            -cursor
21       -image                -padding             -style-takefocus
22       -text                 -textvariable        -underline
23       -width
24
25       See the ttk_widget manual entry for details on the standard options.
26

WIDGET-SPECIFIC OPTIONS

28       Command-Line Name:-anchor
29       Database Name:  anchor
30       Database Class: Anchor
31
32              Specifies  how the information in the widget is positioned rela‐
33              tive to the inner margins.  Legal values are n, ne,  e,  se,  s,
34              sw, w, nw, and center.  See also -justify.
35
36       Command-Line Name:-background
37       Database Name:  frameColor
38       Database Class: FrameColor
39
40              The  widget's  background  color.   If  unspecified,  the  theme
41              default is used.
42
43       Command-Line Name:-font
44       Database Name:  font
45       Database Class: Font
46
47              Font to use for label text.
48
49       Command-Line Name:-foreground
50       Database Name:  textColor
51       Database Class: TextColor
52
53              The  widget's  foreground  color.   If  unspecified,  the  theme
54              default is used.
55
56       Command-Line Name:-justify
57       Database Name:  justify
58       Database Class: Justify
59
60              If there are multiple lines of text, specifies how the lines are
61              laid out relative to one  another.   One  of  left,  center,  or
62              right.  See also -anchor.
63
64       Command-Line Name:-relief
65       Database Name:  relief
66       Database Class: Relief
67
68              Specifies  the  3-D effect desired for the widget border.  Valid
69              values are flat, groove, raised, ridge, solid, and sunken.
70
71       Command-Line Name:-text
72       Database Name:  text
73       Database Class: Text
74
75              Specifies a text  string  to  be  displayed  inside  the  widget
76              (unless overridden by -textvariable).
77
78       Command-Line Name:-wraplength
79       Database Name:  wrapLength
80       Database Class: WrapLength
81
82              Specifies  the  maximum line length (in pixels).  If this option
83              is less than or equal to zero, then automatic  wrapping  is  not
84              performed;  otherwise  the text is split into lines such that no
85              line is longer than the specified value.
86

WIDGET COMMAND

88       Supports  the  standard  widget  commands  configure,  cget,  identify,
89       instate, and state; see ttk::widget(n).
90

SEE ALSO

92       ttk::widget(n), label(n)
93
94
95
96Tk                                    8.5                        ttk::label(n)
Impressum