Search

User Manual

GETTING STARTED


OTHER EDITIONS


LAUNCHERS


MODULES


PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support

ALL USER MANUAL VERSIONS

Ignition 8.1. Offline Version (04/2021)
Ignition 8 Online Version
Ignition 7.9 Online Version
Ignition 7.8 Online Version

Deprecated Pages

SDK Documentation

Employees

Sign In

Skip to end of metadata
Go to start of metadata

This function is used in Python Scripting.

Description

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

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.gui.getParentWindow(event)

  • Parameters

EventObject event - A component event object.

  • Returns

FPMIWindowThe window object that contains the component that fired the event.

  • Scope

Vision Client

Code Examples
Code Snippet - Getting Window and Changing Its Title
# Use this in an event script to change the window's title.
 
window = system.gui.getParentWindow(event)
window.title='This is a new title'
Keywords

system gui getParentWindow, gui.getParentWindow