kAXCloseButtonSubrole

A close button (that is, the red button in a window’s title bar that closes the window).

Declaration

var kAXCloseButtonSubrole: String { get }