Skip to main content
Version: 7.9

system.nav.closeParentWindow

This function is used in Python Scripting.

Description​

Closes the parent window given a component event object.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.nav.closeParentWindow(event)

Parameters​

TypeParameterDescription
EventObjecteventA component event object. The enclosing window for the component will be closed.

Returns​

Nothing

Scope​

Client

Code Examples​

Code Snippet
# This code would be placed in the actionPerformed event of a button, 
# and would close the window that contained the button.
system.nav.closeParentWindow(event)