Name

LabelFrame

tixLabelFrame pathName [option value...]

The tixLabelFrame command creates a new tixLabelFrame mega-widget named pathName. The tixLabelFrame class is derived from the tix-LabelWidget class. It provides a labeled frame for containing other widgets, which should be children of the frame subwidget.

Widget-Specific Options

-label string (label, Label)

String to display as the label of the tixLabelFrame widget.

-labelside position (labelSide, LabelSide)

Where to position the tixLabelFrame label. Valid values are top, left, right, bottom, none, or acrosstop.

-padx amount (padX, PadX)

Amount of horizontal padding around the frame subwidget.

-pady amount (padY, PadY)

Amount of vertical padding around the frame subwidget.

Subwidgets

frame

The frame subwidget, which should be the parent of any widget to be contained.

label

The label subwidget.

Methods

pathName frame [method [args] ]

Shortcut to subwidget frame.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.