1ttk::labelframe(n) Tk Themed Widget ttk::labelframe(n)
2
3
4
5______________________________________________________________________________
6
8 ttk::labelframe - Container widget with optional label
9
11 ttk::labelframe pathName ?options?
12_________________________________________________________________
13
15 A ttk::labelframe widget is a container used to group other widgets
16 together. It has an optional label, which may be a plain text string
17 or another widget.
18
20 -class -cursor -takefocus
21 -style
22
23 See the ttk_widget manual entry for details on the standard options.
24
26 [-labelanchor labelAnchor] Specifies where to place the label. Allowed
27 values are (clockwise from the top upper left corner): nw, n, ne, en,
28 e, es, se, s,sw, ws, w and wn. The default value is theme-dependent.
29 [-text text] Specifies the text of the label. [-underline underline]
30 If set, specifies the integer index (0-based) of a character to under‐
31 line in the text string. The underlined character is used for mnemonic
32 activation. Mnemonic activation for a ttk::labelframe sets the key‐
33 board focus to the first child of the ttk::labelframe widget. [-pad‐
34 ding padding] Additional padding to include inside the border.
35 [-labelwidget labelWidget] The name of a widget to use for the label.
36 If set, overrides the -text option. The -labelwidget must be a child
37 of the labelframe widget or one of the labelframe's ancestors, and must
38 belong to the same top-level widget as the labelframe. [-width width]
39 If specified, the widget's requested width in pixels. [-height height]
40 If specified, the widget's requested height in pixels. (See
41 ttk::frame(n) for further notes on -width and -height).
42
44 Supports the standard widget commands configure, cget, identify,
45 instate, and state; see ttk::widget(n).
46
48 ttk::widget(n), ttk::frame(n), labelframe(n)
49
51 widget, frame, container, label, groupbox
52
53
54
55Tk 8.5 ttk::labelframe(n)