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

deInstallPlugin

deInstallPlugin(
w_windowID
S_plugin
)
=> stdobj / nil

Description

Installs (or activates) the specified plugin in an application window associated with the given ID. For each session window, DE makes only one instance of a plugin. deInstallPlugin function installs a plugin in an application window. A session window can host multiple application windows. This means that if an instance of the plugin already exists in the specified window, the instance is returned. And, if there exists an instance in another tab of the same session window, the instance is shared.

Arguments

w_windowID

Specifies the ID of an application window on which the plugin is to be installed

S_plugin

Specifies the name (string) or class name (symbol) of the plugin to be installed

Value Returned

stdobj

Returns an instance of the plugin installed in the given application window

nil

Returns nil if the named plugin (string) has not been registered with deRegPlugin, the class name (symbol) is not a sub-class of DEPlugin, or the plugin is not pluggable to the given application window (pluggable applications are specified when registering the plugin using deRegPlugin)


Return to top
 ⠀
X