This command allows you to Get or Set the options for the button type.
These settings take effect from the next call to DtclTkDialogButOpts.
By default, Cancel buttons have a white foreground can red background, whilst Ok buttons have a green background and white foreground. The special button type has no particular defaults. Note, whilst colors are commonly changed, any options to the Tk "button" command can be specified
> | type | CancelOkSpecial | The type of button for which
we are setting or getting the options.
|
---|---|---|---|
> | args | strings | If supplied, the options to be used
for that button.
|
DtclTkDialogButOpts Special -fg gold -bg black This example sets the special button type (introduced by the + tag) to use a forground of gold and a background of black.
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au