Adding Custom Menus to Allegro System Capture
Learn more at Cadence Support Portal - https://support.cadence.com
© 2019 Cadence Design Systems, Inc. All rights reserved w orldw ide. Page 9
Tool Buttons and Actions
Tcl Scripting APIs
• Adding Tool Item to Toolbar
• Adding Separator to Toolbar
• Adding Actions
• Sample Tcl Script to Create and Add Action to Tool Item
• Sample Tcl Script to Add Tool Item to the Toolbar
Adding Tool Item to Toolbar
Custom tool items can be added to the main toolbar using the following Tcl API:
addToolIItemToToolBar 1
In the following example, a tool item with the label Undo is added between to the left
section of the toolbar in Allegro System Capture.
addToolItemToToolBar undoButton 1 "Undo"