A ttk::labelframe widget is a container used to group other widgets together. It has an optional label, which may be a plain text string or another widget.
-class -cursor -padding -style -takefocus
Command-Line Name: -labelanchor Database Name: labelAnchor Database Class: LabelAnchor
Command-Line Name: -text Database Name: text Database Class: Text
Command-Line Name: -underline Database Name: underline Database Class: Underline
Command-Line Name: -labelwidget Database Name: labelWidget Database Class: LabelWidget
Command-Line Name: -width Database Name: width Database Class: Width
Command-Line Name: -height Database Name: height Database Class: Height
Supports the standard widget commands configure, cget, identify, instate, and state; see ttk::widget.
The class name for a ttk::labelframe is TLabelframe. The text label has a class of TLabelframe.Label.
Dynamic states: disabled, readonly.
TLabelframe styling options configurable with ttk::style are:
-background color
-bordercolor color
-borderwidth amount
-darkcolor color
-labelmargins amount
-labeloutside boolean
-lightcolor color
-relief relief
TLabelframe.Label styling options configurable with ttk::style are:
-background color
-font font
-foreground color
Some options are only available for specific themes.
See the ttk::style manual page for information on how to configure ttk styles.