C# Класс Monobjc.AppKit.NSApplication

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AutoreleasePool NSAutoreleasePool

Открытые методы

Метод Описание
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.

Описание методов

BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo() публичный Метод

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.
Результат void

Bootstrap() публичный статический Метод

Bootstrap the process instance and install the NSAutoreleasePool on the main thread.
public static Bootstrap ( ) : void
Результат void

LoadNib() публичный статический Метод

Loads the nib and assings ownership to the SharedApplication instance.
public static LoadNib ( String filename ) : void
filename String The filename.
Результат void

RunApplication() публичный статический Метод

Runs the main event loop.
public static RunApplication ( ) : void
Результат void

ToString() публичный Метод

Returns a System.String that represents this instance.
public ToString ( ) : string
Результат string

Описание свойств

AutoreleasePool публичное статическое свойство

Autorelease pool created by default when launching a GUI application
public static NSAutoreleasePool AutoreleasePool
Результат NSAutoreleasePool