NSBeginCriticalAlertSheet
Creates and runs a critical alert sheet.
Declaration
extern void NSBeginCriticalAlertSheet(NSString *title, NSString *defaultButton, NSString *alternateButton, NSString *otherButton, NSWindow *docWindow, id modalDelegate, SEL didEndSelector, SEL didDismissSelector, void *contextInfo, NSString *msgFormat, ...);Discussion
Creates and runs a critical alert sheet on docWindow, with the title of title, the text of msg, and buttons with titles of defaultButton, alternateButton, and otherButton.
See the description of NSBeginAlertSheet for information on layout, default parameters, and the selectors.
The sheet presented to the user is badged with a caution icon. Critical alerts should be used only as specified in the “Alerts” section of the UI Element Guidelines: Windows chapter of macOS Human Interface Guidelines.
See Also
Functions
NSConvertGlyphsToPackedGlyphs(_:_:_:_:)NSOpenGLGetOptionNSOpenGLGetVersionNSOpenGLSetOptionraiseBadArgumentException(_:_:_:)NSBeginAlertSheetNSBeginInformationalAlertSheetNSGetAlertPanelNSGetCriticalAlertPanelNSGetInformationalAlertPanelNSReleaseAlertPanel(_:)NSRunAlertPanelNSRunCriticalAlertPanelNSRunInformationalAlertPanelNSRunAlertPanelRelativeToWindow