ownerPID

Get the PID that owns the window.

@property
int
ownerPID
(
NativeWindowHandle window
)

Parameters

window NativeWindowHandle

The window to check who created it

Return Value

Type: int

the PID of the owner who created this window. On windows this will always work and be accurate. On X11 this might return -1 if none is specified and might not actually be the actual owner.

Meta