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

NAME

8       ttk::labelframe - Container widget with optional label
9

SYNOPSIS

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

DESCRIPTION

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

STANDARD OPTIONS

20       -class                -cursor              -padding-style
21       -takefocus
22
23       See the ttk_widget manual entry for details on the standard options.
24

WIDGET-SPECIFIC OPTIONS

26       Command-Line Name:-height
27       Database Name:  height
28       Database Class: Height
29
30              If  specified,  the  widget's  requested height in pixels.  (See
31              ttk::frame(n) for further notes on -width and -height).
32
33       Command-Line Name:-labelanchor
34       Database Name:  labelAnchor
35       Database Class: LabelAnchor
36
37              Specifies where to place the label.  Allowed values are  (clock‐
38              wise  from the top upper left corner): nw, n, ne, en, e, es, se,
39              s,sw, ws, w and wn.  The default value is theme-dependent.
40
41       Command-Line Name:-labelwidget
42       Database Name:  labelWidget
43       Database Class: LabelWidget
44
45              The name of a widget to use for the label.   If  set,  overrides
46              the  -text  option.   The  -labelwidget  must  be a child of the
47              labelframe widget or one of the labelframe's ancestors, and must
48              belong to the same top-level widget as the labelframe.
49
50       Command-Line Name:-text
51       Database Name:  text
52       Database Class: Text
53
54              Specifies the text of the label.
55
56       Command-Line Name:-underline
57       Database Name:  underline
58       Database Class: Underline
59
60              If  set, specifies the integer index (0-based) of a character to
61              underline in the text string.  The underlined character is  used
62              for  mnemonic activation.  Mnemonic activation for a ttk::label‐
63              frame sets  the  keyboard  focus  to  the  first  child  of  the
64              ttk::labelframe widget.
65
66       Command-Line Name:-width
67       Database Name:  width
68       Database Class: Width
69
70              If specified, the widget's requested width in pixels.
71

WIDGET COMMAND

73       Supports  the  standard  widget  commands  configure,  cget,  identify,
74       instate, and state; see ttk::widget(n).
75

STYLING OPTIONS

77       The class name for a ttk::labelframe is TLabelframe.   The  text  label
78       has a class of TLabelframe.Label.
79
80       Dynamic states: disabled, readonly.
81
82       TLabelframe styling options configurable with ttk::style are:
83
84       -background color
85       -bordercolor color
86       -borderwidth amount
87       -darkcolor color
88       -labelmargins amount
89       -labeloutside boolean
90       -lightcolor color
91       -relief relief
92
93       TLabelframe.Label styling options configurable with ttk::style are:
94
95       -background color
96       -font font
97       -foreground color
98
99       Some options are only available for specific themes.
100
101       See  the ttk::style manual page for information on how to configure ttk
102       styles.
103

SEE ALSO

105       ttk::widget(n), ttk::frame(n), labelframe(n)
106

KEYWORDS

108       widget, frame, container, label, groupbox
109
110
111
112Tk                                    8.5                   ttk::labelframe(n)
Impressum