Window positioning is handled by DtclTkDialogPosition - please see that command for details.
> | w | tk window name | Window to use for dialog top-level. If the window name is prefixed with !, then the format is !class.w where class is the class name to be given to the dialog and .w is the window name. |
---|---|---|---|
> | title | string | Title to display in dialog's decorative frame. |
> | text | string | Message to display in dialog. |
> | bitmap | tk bitmap name | Bitmap to display in dialog. An empty string means none. |
> | default | integer | Index of button that is to display the default ring. Use -1 to indicate no default. |
> | command | string | Command to be invoked when a button is pressed. It will have button number appended. |
> | args | strings | One or more strings to display in buttons
across the bottom of the dialog box. There are
three flag characters which can be pre-appended
to the button string to change the behaviour.
By default, the dialog is destroyed when the button
is pressed. If button name is pre-appended with a
dash (-), then the dash is removed and the dialog is
not destroyed when the button is pressed. The
three other flag ("!", "*",
"+") are used to select
pre-defined options for changine the display of the
button. "!" indicates a Cancel button and uses
appropiate colors. "*" Indicates an Ok button and
uses appropiate colors. "+" indicates a special
button and uses appropiate options (currently none).
These colors can all be changed using the
DtclTkDialogButOpts command.
|
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au