Name

ButtonBox

tixButtonBox pathName [option value...]

The tixButtonBox command creates a new tixButtonBox mega-widget named pathName. The tixButtonBox class is derived from the tixPrimitive class. It serves as a container widget for button widgets, most commonly in dialogs.

Widget-Specific Options

-orientation orientation (orientation, Orientation)

Orientation of the button subwidgets, either horizontal (the default) or vertical.

-padx size (padX, Pad)

Horizontal padding between two neighboring button subwidgets.

-pady size (padY, Pad)

Vertical padding between two neighboring button subwidgets.

-state state (state, State)

State of all the button subwidgets, either normal or disabled.

Methods

pathName add buttonName [option value...]

Add a new button subwidget with name buttonName into the box. Options are those valid for a normal button widget.

pathName invoke buttonName

Invoke the button subwidget buttonName.

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.