C# Class Cocoa.Application

Inheritance: Object
ファイルを表示 Open project: mono/cocoa-sharp

Public Methods

Method Description
Application ( IntPtr native_object ) : System
BeginSheet ( Cocoa sheet, Cocoa docWindow, SheetHandler modalDelegate, System contextInfo ) : void
EndModalSession ( IntPtr modalsession ) : void
EndSheet ( Cocoa sheet ) : void
EndSheet ( Cocoa sheet, int returnCode ) : void
Init ( ) : void
LoadFramework ( string frameworkname ) : void
LoadNib ( string nibname ) : void
ModalSessionForWindow ( Window window ) : IntPtr
Run ( ) : void
RunApplication ( ) : void
RunModalSession ( IntPtr modalsession ) : int
SetAppleMenu ( Menu menu ) : void

Private Methods

Method Description
GetCurrentProcess ( IntPtr &psn ) : void
SetFrontProcess ( IntPtr &psn ) : void
TransformProcessType ( IntPtr &psn, uint type ) : void

Method Details

Application() public method

public Application ( IntPtr native_object ) : System
native_object System.IntPtr
return System

BeginSheet() public method

public BeginSheet ( Cocoa sheet, Cocoa docWindow, SheetHandler modalDelegate, System contextInfo ) : void
sheet Cocoa
docWindow Cocoa
modalDelegate SheetHandler
contextInfo System
return void

EndModalSession() public method

public EndModalSession ( IntPtr modalsession ) : void
modalsession System.IntPtr
return void

EndSheet() public method

public EndSheet ( Cocoa sheet ) : void
sheet Cocoa
return void

EndSheet() public method

public EndSheet ( Cocoa sheet, int returnCode ) : void
sheet Cocoa
returnCode int
return void

Init() public static method

public static Init ( ) : void
return void

LoadFramework() public static method

public static LoadFramework ( string frameworkname ) : void
frameworkname string
return void

LoadNib() public static method

public static LoadNib ( string nibname ) : void
nibname string
return void

ModalSessionForWindow() public method

public ModalSessionForWindow ( Window window ) : IntPtr
window Window
return System.IntPtr

Run() public static method

public static Run ( ) : void
return void

RunApplication() public method

public RunApplication ( ) : void
return void

RunModalSession() public method

public RunModalSession ( IntPtr modalsession ) : int
modalsession System.IntPtr
return int

SetAppleMenu() public method

public SetAppleMenu ( Menu menu ) : void
menu Menu
return void