C# 클래스 Monobjc.AppKit.NSApplication

파일 보기 프로젝트 열기: Monobjc/monobjc 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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