Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

deoPostInstallTrigger

deoPostInstallTrigger(
g_application
l_args
)
=> g_value

Description

The post-install trigger is called after all other processing is done, including installation of banner menu, toolbar, assistant, bindkeys. This is provided for those applications that need to finish up any initialization that must occur after GUI is installed.

Arguments

g_application

Specifies an instance (stdobj) of the plugin

l_args

Single argument, which is a disembodied property list. The trigger argument (l_args) for DE plugin is very similar to the Trigger Argument given to DE main application triggers. In addition to the properties for DE main application menu triggers, two new values are added for the args->action property, they are 'activate, and 'deactivate. These are used for installing and removing a plugin in a window, respectively.

Value Returned

g_value

Returns non-nil value to indicate success

Example

let(()
defmethod( deoEnableTrigger( (this MyPlugin) @optional args)
mylicenseCheck( args))
defmethod( deoMenuTrigger( (this MyPlugin) args)
(if  (eq args->action 'activate)
append( args->bannerMenus (myMenuMaker args))
;;else
(when (eq args->action 'deactivate)
(remove_my_plugin_menu args->bannerMenu))))
defmethod( deoPostInstallTrigger((this MyPlugin) args)
(my_post_installer args)
t )
defmethod( deoExitTrigger((this MyPlugin) @optional args)
(my_pre_exit_process args)
t )
) ;; End of MyPlugin

Return to top
 ⠀
X