Name

StdButtonBox

tixStdButtonBox pathName [option value...]

The tixStdButtonBox command creates a new tixStdButtonBox mega-widget named pathname. The tixStdButtonBox class is derived from the tixButtonBox class. It adds four predefined buttons (OK, Apply, Cancel, Help) For motif-like dialog boxes.

Widget-Specific Options

-applycmd tclCommand (applyCmd, ApplyCmd)

Command to call when the Apply button is pressed.

-cancelcmd tclCommand (cancelCmd, CancelCmd)

Command to call when the Cancel button is pressed.

-helpcmd tclCommand (helpCmd, HelpCmd)

Command to call when the Help button is pressed.

-okcmd tclCommand (okCmd, OkCmd)

Command to call when the OK button is pressed.

Subwidgets

apply

The Apply button widget.

cancel

The Cancel button widget.

help

The Help button widget.

ok

The OK button widget.

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.