C# Class Monobjc.AppKit.NSAlert

Mostrar archivo Open project: Monobjc/monobjc Class Usage Examples

Public Methods

Method Description
BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo ( NSWindow window, SheetDidEndReturnCodeContextInfoEventHandler modalDelegate, IntPtr contextInfo ) : void

Runs the receiver modally as an alert sheet attached to a specified window.

Original signature is '- (void)beginSheetModalForWindow:(NSWindow *)window modalDelegate:(id)modalDelegate didEndSelector:(SEL)alertDidEndSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.3 and later.

Method Details

BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo() public method

Runs the receiver modally as an alert sheet attached to a specified window.

Original signature is '- (void)beginSheetModalForWindow:(NSWindow *)window modalDelegate:(id)modalDelegate didEndSelector:(SEL)alertDidEndSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.3 and later.

public BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo ( NSWindow window, SheetDidEndReturnCodeContextInfoEventHandler modalDelegate, IntPtr contextInfo ) : void
window NSWindow The parent window for the sheet.
modalDelegate SheetDidEndReturnCodeContextInfoEventHandler The delegate for the modal-dialog session.
contextInfo System.IntPtr Contextual data passed to modalDelegate in didEndSelector message.
return void