Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

pteRegisterUserLSManagerTrigger

pteRegisterUserLSManagerTrigger(
t_funcName
)
=> t / nil

Description

Registers a trigger, which is a user-defined SKILL procedure, from CIW. This trigger is called with an argument list containing modifier, mouseButton, event, editedLS, and activeLSList when an action (other than a drag-and-drop action) is performed in the Layer Set Manager.

Valid values of these arguments are as follows:

Only one trigger can be registered at a time; it can be unregistered using pteUnRegisterUserLSManagerTrigger.

Arguments

t_funcName

Name of the trigger to be registered.

Value Returned

t

The trigger was successfully registered.

nil

The command was unsuccessful.

Example

pteRegisterUserLSManagerTrigger("mytrigger")

The following is a sample implementation of mytrigger:

procedure( mytrigger(val)
let(()
info("%L" val->??)
t
)
);

Return to top
 ⠀
X