C# Class Monobjc.AppKit.NSApplication

Afficher le fichier Open project: Monobjc/monobjc Class Usage Examples

Méthodes publiques

Свойство Type Description
AutoreleasePool NSAutoreleasePool

Méthodes publiques

Méthode Description
BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo ( NSWindow sheet, NSWindow docWindow, SheetDidEndReturnCodeContextInfoEventHandler modalDelegate, IntPtr contextInfo ) : void

Starts a document modal session.

Original signature is '- (void)beginSheet:(NSWindow *)sheet modalForWindow:(NSWindow *)docWindow modalDelegate:(id)modalDelegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.0 and later.

Bootstrap ( ) : void

Bootstrap the process instance and install the NSAutoreleasePool on the main thread.

LoadNib ( String filename ) : void

Loads the nib and assings ownership to the SharedApplication instance.

RunApplication ( ) : void

Runs the main event loop.

ToString ( ) : string

Returns a System.String that represents this instance.

Method Details

BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo() public méthode

Starts a document modal session.

Original signature is '- (void)beginSheet:(NSWindow *)sheet modalForWindow:(NSWindow *)docWindow modalDelegate:(id)modalDelegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.0 and later.

public BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo ( NSWindow sheet, NSWindow docWindow, SheetDidEndReturnCodeContextInfoEventHandler modalDelegate, IntPtr contextInfo ) : void
sheet NSWindow The window object representing the sheet you want to display.
docWindow NSWindow The window object to which you want to attach the sheet.
modalDelegate SheetDidEndReturnCodeContextInfoEventHandler The delegate object that defines your didEndSelector method. If nil, the method in didEndSelector is not called.
contextInfo System.IntPtr A pointer to the context info you want passed to the didEndSelector method when the sheet�s modal session ends.
Résultat void

Bootstrap() public static méthode

Bootstrap the process instance and install the NSAutoreleasePool on the main thread.
public static Bootstrap ( ) : void
Résultat void

LoadNib() public static méthode

Loads the nib and assings ownership to the SharedApplication instance.
public static LoadNib ( String filename ) : void
filename String The filename.
Résultat void

RunApplication() public static méthode

Runs the main event loop.
public static RunApplication ( ) : void
Résultat void

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( ) : string
Résultat string

Property Details

AutoreleasePool public_oe static_oe property

Autorelease pool created by default when launching a GUI application
public static NSAutoreleasePool AutoreleasePool
Résultat NSAutoreleasePool