This class is an itcl widget for displaying a frame with a row of standard buttons, such as OK and Cancel , with options for adding and other buttons and actions.
The example below calls the ok method if OK is pressed and the quit method if quit is pressed:
set w [ButtonFrame $w_.b \ -ok_cmd [code $this ok] \ -cancel_cmd [code $this quit]] pack $w -fill x -expand 1
See ButtonFrame(n) for details.
Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory