A custom button can be removed either directly from the GUI or using the remove_gui_custom_command
command.
The syntax is:
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
The name that must be specified is the name defined using create_gui_custom_command -name
.
The custom buttons defined in Create a Custom GUI Button and Create a Custom GUI Button can be removed using the following commands:
remove_gui_custom_command myButton
remove_gui_custom_command getClock