C# Класс MonoDevelop.MacIntegration.MacPlatformService

Наследование: MonoDevelop.Ide.Desktop.PlatformService
Показать файл Открыть проект Примеры использования класса

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

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

Защищенные методы

Метод Описание
CreateRecentFilesProvider ( ) : MonoDevelop.Ide.Desktop.RecentFiles
OnGetMimeTypeForUri ( string uri ) : string
OnGetPixbufForFile ( string filename, Gtk size ) : Gdk.Pixbuf

Приватные методы

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

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

CreateRecentFilesProvider() защищенный Метод

protected CreateRecentFilesProvider ( ) : MonoDevelop.Ide.Desktop.RecentFiles
Результат MonoDevelop.Ide.Desktop.RecentFiles

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

public GetApplications ( string filename ) : IEnumerable
filename string
Результат IEnumerable

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

public GetIsFullscreen ( Gtk window ) : bool
window Gtk
Результат bool

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

public static GetPixbufFromNSImage ( MonoMac.AppKit.NSImage icon, int width, int height ) : Gdk.Pixbuf
icon MonoMac.AppKit.NSImage
width int
height int
Результат Gdk.Pixbuf

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

public static GetPixbufFromNSImageRep ( MonoMac.AppKit.NSImageRep rep, int width, int height ) : Gdk.Pixbuf
rep MonoMac.AppKit.NSImageRep
width int
height int
Результат Gdk.Pixbuf

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

public GetUsableMonitorGeometry ( Gdk screen, int monitor_id ) : Gdk.Rectangle
screen Gdk
monitor_id int
Результат Gdk.Rectangle

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

public GrabDesktopFocus ( Gtk window ) : void
window Gtk
Результат void

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

public IsModalDialogRunning ( ) : bool
Результат bool

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

public LoadNativeToolkit ( ) : Xwt.Toolkit
Результат Xwt.Toolkit

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

public MacPlatformService ( ) : System
Результат System

OnGetMimeTypeForUri() защищенный Метод

protected OnGetMimeTypeForUri ( string uri ) : string
uri string
Результат string

OnGetPixbufForFile() защищенный Метод

protected OnGetPixbufForFile ( string filename, Gtk size ) : Gdk.Pixbuf
filename string
size Gtk
Результат Gdk.Pixbuf

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

public OpenFile ( string filename ) : void
filename string
Результат void

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

public OpenTerminal ( FilePath directory, string>.IDictionary environmentVariables, string title ) : void
directory FilePath
environmentVariables string>.IDictionary
title string
Результат void

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

public SetGlobalMenu ( CommandManager commandManager, string commandMenuAddinPath, string appMenuAddinPath ) : bool
commandManager MonoDevelop.Components.Commands.CommandManager
commandMenuAddinPath string
appMenuAddinPath string
Результат bool

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

public SetIsFullscreen ( Gtk window, bool isFullscreen ) : void
window Gtk
isFullscreen bool
Результат void

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

public ShowUrl ( string url ) : void
url string
Результат void

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

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