Name
ButtonBox
- tixButtonBox
pathName
[option value
...] The tixButtonBox command creates a new tixButtonBox mega-widget named
pathName
. ThetixButtonBox
class is derived from thetixPrimitive
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) orvertical
.- -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
ordisabled
.
Methods
pathName
addbuttonName
[option value
...]Add a new button subwidget with name
buttonName
into the box. Options are those valid for a normal button widget.pathName
invokebuttonName
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.