File 'gui/mcDialog.cls' (part of 'Pool_GuiBase')

Description (short)
Base of dialogs with buttonbar
Written by
Andreas Kupries
Description
Base class of all megadialogs with a button bar
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
Methods
public
HandleButton (button)
addButton (name text)
createSubwidgets ()
Membervariables
public
bbox

Options

-command
The script evaluate after the invocation of a registered button. The symbolic name of the button will be appended as its argument.

Methods

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 ()

Overrides feedbackDialog: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.


Membervariables

bbox
Reference to the internal buttonbox widget.

Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries