Skip to end of metadata
Go to start of metadata

This function is used in Python Scripting.


Finds the parent (enclosing) window for the component that fired an event, returning a reference to it.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.



  • Parameters

EventObject event - A component event object.

  • Returns

PyObject - The window that contains the component that fired the event.

  • Scope


Code Examples
Code Snippet
# Use this in an event script to change the window's title.
window = system.gui.getParentWindow(event)
window.title='This is a new title'
  • No labels