The window number of the window’s window device.
- macOS 10.0+
Each window device in an application is given a unique window number—note that this isn’t the same as the global window number assigned by the window server. This number can be used to identify the window device with the
order method and in the AppKit function
If the window doesn’t have a window device, the value of this property is equal to or less than