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:
-
modifier:
None,Shift, andCtrl -
mouseButton:
LeftandRight -
event:
Layer Set Activation,Visibility ON,Visibility OFF,Selectability ON,Selectability OFF,EnableLS, andDisableLS - editedLS: Layer set on which the user clicks
- activeLSList: List of all currently active layer sets
Only one trigger can be registered at a time; it can be unregistered using pteUnRegisterUserLSManagerTrigger.
Arguments
Value Returned
Example
pteRegisterUserLSManagerTrigger("mytrigger")
The following is a sample implementation of mytrigger:
procedure( mytrigger(val)
let(()
info("%L" val->??)
t
)
);
Return to top