MonobjcMonobjc Documented Class Library
NSGetAlertPanel Method (title, msg, defaultButton, alternateButton, otherButton)
NamespacesMonobjc.AppKitAppKitFrameworkNSGetAlertPanel(NSString, NSString, NSString, NSString, NSString)

Returns an alert panel.

Original signature is 'id NSGetAlertPanel ( NSString *title, NSString *msg, NSString *defaultButton, NSString *alternateButton, NSString *otherButton, ... );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id NSGetAlertPanel(
	NSString title,
	NSString msg,
	NSString defaultButton,
	NSString alternateButton,
	NSString otherButton
Public Shared Function NSGetAlertPanel ( _
	title As NSString, _
	msg As NSString, _
	defaultButton As NSString, _
	alternateButton As NSString, _
	otherButton As NSString _
) As Id
static Id^ NSGetAlertPanel(
	NSString^ title, 
	NSString^ msg, 
	NSString^ defaultButton, 
	NSString^ alternateButton, 
	NSString^ otherButton
title (NSString)
msg (NSString)
defaultButton (NSString)
alternateButton (NSString)
otherButton (NSString)
Return Value
YES if the object is one of the designated controller markers or NO if it is not.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)