Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

dagGetCurrentTool

dagGetCurrentTool() 
=> w_dagTool / nil

Description

Returns the current dagTool, and nil if there is not a current dagTool. The current dagTool is different from the current window. The current tool might not be the current window.

This function is intended for use in the action functions and in display list SKILL objects. Immediately before any action callback procedure is called, the current tool value is updated.

Also, before a tool is redrawn, the current tool is updated. If the current tool is closed (deleted), dagGetCurrentTool will return nil.

Argument

None

Value Returned

w_dagTool

The current dagTool.

nil

There is no current dagTool.

Related Topics

dag Functions


Return to top
 ⠀
X