Remove one or more custom commands
Syntax
remove_gui_custom_commands [‑quiet] [‑verbose] <names>...
Usage
Name | Description |
---|---|
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
<names>
|
name of one or more custom commands to remove |
Categories
Description
Remove one or more GUI custom commands.
You can use the get_gui_custom_commands
to determine the list of defined custom commands.
Arguments
-quiet
- (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
Note: Any errors encountered on the command-line, while launching the command, will be returned. Only errors occurring inside the command will be trapped.
-verbose
- (Optional) Temporarily override any message limits and return all messages from this command.
Note: Message limits can be defined with the
set_msg_config
command.<names> - (Required) One or more command names to remove.
Examples
The following example removes the GUI custom commands with names 'abc' and 'xyz':
remove_gui_custom_commands {abc xyz}