Name

LabelWidget

tixLabelWidget pathName [option value...]

The tixLabelWidget command creates a new tixLabelWidget mega-widget named pathName. The tixLabelWidget class is derived from the tixPrimitive class. Its main purpose is to provide a base class for labeled mega-widgets.

Widget-Specific Options

-label string (label, Label)

String to display as the label of the tixLabelWidget widget.

-labelside position (labelSide, LabelSide)

Where to position the tixLabelWidget 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 upon which derived mega-widget classes should build.

label

The label subwidget.

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.