canBecomeKey
A Boolean value that indicates whether the window can become the key window.
Declaration
var canBecomeKey: Bool { get }Discussion
The value of this property is true if the window can become the key window, otherwise, false.
Attempts to make the window the key window are abandoned if the value of this property is false. The value of this property is true if the window’s style mask includes the titled flag, or false otherwise.