File 'gui/mcDialog.cls' (part of 'Pool_GuiBase')
Home | Packages | Files | Procedures | Classes | Keywords | External packages
- Written by
- Andreas Kupries
- Description
- Base class of all megadialogs with a button bar
- Depends on
- Tix
- Keywords
- dialog with buttonbar, feedback, stateline
Class 'multipleChoiceDialog'
- Description
- This class is the base of all dialogs containing a stateline (inherited) and a button bar at their bottom.
- Superclasses
- feedbackDialog
- Options
- command
- Membervariables
- bbox
- Methods
- HandleButton, addButton, createSubwidgets
- -command
- The script evaluate after the invocation of a registered button. The symbolic name of the button will be appended as its argument.
- bbox
- Reference to the internal buttonbox widget.
HandleButton (button) |
Internal callback. Invoked by the activation of a registered button. Evaluates the script given to the option -command and destroys the dialog afterward. |
Argument: button | Symbolic name of the invoked button. |
addButton (name text) |
Accessor allowing the registration of an arbitrary set of buttons. Every button registered with this method can be retrieved via widget:subwidget, the name specified here is its handle for this too. |
Argument: name | The symbolic name of the registered button. |
Argument: text | The text to display in the button. |
createSubwidgets () |
Create the widgets required by this dialog, then place them appropriately. The childsite of the superclass is used to place our buttonbox and then redefined to our childsite. |
Generated by AutoDoc 2.1 at 02/20/1999, invoked by Andreas Kupries