Generic function
Enables or disables the specified command.
command-enabled?-setter enabled? command frame => enabled?
<boolean>.
type-union(<command>, <command-table>).
<frame>.
<boolean>.
duim-frames
duim-frames
Enables or disables command in frame. If enabled? is true, then command is enabled, otherwise it is disabled. Enabling and disabling a command enables and disables all the gadgets that are associated with the command, such as menu items and tool bar buttons.
This function is useful when manipulating the disabled commands in frame. For example, it is common to disable the Save menu command immediately after saving a file, enabling it again only when the file has been modified.