C# Class MonoDevelop.MacIntegration.MacPlatformService

Inheritance: MonoDevelop.Ide.Desktop.PlatformService
ファイルを表示 Open project: LogosBible/monodevelop Class Usage Examples

Public Methods

Method Description
GetApplications ( string filename ) : IEnumerable
GetIsFullscreen ( Gtk window ) : bool
GetPixbufFromNSImage ( MonoMac.AppKit.NSImage icon, int width, int height ) : Gdk.Pixbuf
GetPixbufFromNSImageRep ( MonoMac.AppKit.NSImageRep rep, int width, int height ) : Gdk.Pixbuf
GetUsableMonitorGeometry ( Gdk screen, int monitor_id ) : Gdk.Rectangle
GrabDesktopFocus ( Gtk window ) : void
IsModalDialogRunning ( ) : bool
LoadNativeToolkit ( ) : Xwt.Toolkit
MacPlatformService ( ) : System
OpenFile ( string filename ) : void
OpenTerminal ( FilePath directory, string>.IDictionary environmentVariables, string title ) : void
SetGlobalMenu ( CommandManager commandManager, string commandMenuAddinPath, string appMenuAddinPath ) : bool
SetIsFullscreen ( Gtk window, bool isFullscreen ) : void
ShowUrl ( string url ) : void
StartConsoleProcess ( string command, string arguments, string workingDirectory, string>.IDictionary environmentVariables, string title, bool pauseWhenFinished ) : IProcessAsyncOperation

Protected Methods

Method Description
CreateRecentFilesProvider ( ) : MonoDevelop.Ide.Desktop.RecentFiles
OnGetMimeTypeForUri ( string uri ) : string
OnGetPixbufForFile ( string filename, Gtk size ) : Gdk.Pixbuf

Private Methods

Method Description
CheckGtkVersion ( uint major, uint minor, uint micro ) : void
ConvertColor ( MonoMac.AppKit.NSColor color ) : Cairo.Color
CreateMainToolbar ( Gtk window ) : MainToolbar
GetAppBundleRoot ( FilePath path ) : FilePath
GetPixbufFromNSBitmapImageRep ( NSBitmapImageRep bitmap, int width, int height ) : Gdk.Pixbuf
GetTitleBarHeight ( ) : int
GlobalSetup ( ) : void
HandleDeleteEvent ( object o, Gtk args ) : void
InitApp ( CommandManager commandManager ) : void
LoadImage ( string resource ) : MonoMac.AppKit.NSImage
LoadMimeMapAsync ( ) : string>.Dictionary
OnCommandActivating ( object sender, CommandActivationEventArgs args ) : void
OpenUrl ( string url ) : void
RemoveWindowShadow ( Gtk window ) : void
SetMainWindowDecorations ( Gtk window ) : void
SetupWithoutBundle ( ) : void

Method Details

CreateRecentFilesProvider() protected method

protected CreateRecentFilesProvider ( ) : MonoDevelop.Ide.Desktop.RecentFiles
return MonoDevelop.Ide.Desktop.RecentFiles

GetApplications() public method

public GetApplications ( string filename ) : IEnumerable
filename string
return IEnumerable

GetIsFullscreen() public method

public GetIsFullscreen ( Gtk window ) : bool
window Gtk
return bool

GetPixbufFromNSImage() public static method

public static GetPixbufFromNSImage ( MonoMac.AppKit.NSImage icon, int width, int height ) : Gdk.Pixbuf
icon MonoMac.AppKit.NSImage
width int
height int
return Gdk.Pixbuf

GetPixbufFromNSImageRep() public static method

public static GetPixbufFromNSImageRep ( MonoMac.AppKit.NSImageRep rep, int width, int height ) : Gdk.Pixbuf
rep MonoMac.AppKit.NSImageRep
width int
height int
return Gdk.Pixbuf

GetUsableMonitorGeometry() public method

public GetUsableMonitorGeometry ( Gdk screen, int monitor_id ) : Gdk.Rectangle
screen Gdk
monitor_id int
return Gdk.Rectangle

GrabDesktopFocus() public method

public GrabDesktopFocus ( Gtk window ) : void
window Gtk
return void

IsModalDialogRunning() public method

public IsModalDialogRunning ( ) : bool
return bool

LoadNativeToolkit() public method

public LoadNativeToolkit ( ) : Xwt.Toolkit
return Xwt.Toolkit

MacPlatformService() public method

public MacPlatformService ( ) : System
return System

OnGetMimeTypeForUri() protected method

protected OnGetMimeTypeForUri ( string uri ) : string
uri string
return string

OnGetPixbufForFile() protected method

protected OnGetPixbufForFile ( string filename, Gtk size ) : Gdk.Pixbuf
filename string
size Gtk
return Gdk.Pixbuf

OpenFile() public method

public OpenFile ( string filename ) : void
filename string
return void

OpenTerminal() public method

public OpenTerminal ( FilePath directory, string>.IDictionary environmentVariables, string title ) : void
directory FilePath
environmentVariables string>.IDictionary
title string
return void

SetGlobalMenu() public method

public SetGlobalMenu ( CommandManager commandManager, string commandMenuAddinPath, string appMenuAddinPath ) : bool
commandManager MonoDevelop.Components.Commands.CommandManager
commandMenuAddinPath string
appMenuAddinPath string
return bool

SetIsFullscreen() public method

public SetIsFullscreen ( Gtk window, bool isFullscreen ) : void
window Gtk
isFullscreen bool
return void

ShowUrl() public method

public ShowUrl ( string url ) : void
url string
return void

StartConsoleProcess() public method

public StartConsoleProcess ( string command, string arguments, string workingDirectory, string>.IDictionary environmentVariables, string title, bool pauseWhenFinished ) : IProcessAsyncOperation
command string
arguments string
workingDirectory string
environmentVariables string>.IDictionary
title string
pauseWhenFinished bool
return IProcessAsyncOperation