Magic VLSI Layout Tool Version 8.2 *

tool


Change the layout "tool" (button bindings). This page describes the version of the command used by the Tcl version of magic.

Shortcuts:

Key macro space implements the command tool.
Key macro shift-space implements the command tool box.

Usage:

tool [name|info]

where name may be one of box, wiring, netlist, or pick.

Summary:

The tool command selects or queries the mode of operation of the mouse buttons in the layout window. Each tool type has a unique set of button bindings.

Without arguments, the tool command selects the next tool type in round-robin fashion. With a tool type as argument, the button bindings switch to those for the indicated tool. With the info option, a summary of the commands bound to each mouse button is given for the current tool.

The default mouse bindings for each of the three tools is as follows:

Implementation Notes:

tool is implemented as a Tcl script in the Tcl-based version of magic. The command duplicates the function of the original tool command, which remains for the non-Tcl based version of magic, and which performs the function of changing the cursor style in the window.

Button functions for each "tool" may be added to or modified in the startup scripts. The Tcl variable Opts(tool) contains the current tool name, and may be used by a user tool procedure overriding the default one in "tools.tcl".

See Also:

tool (non-Tcl version)

Return to command index

Last updated: March 7, 2020 at 1:06pm