C# Class MonoDevelop.MacIntegration.MacPlatformService

Inheritance: MonoDevelop.Ide.Desktop.PlatformService
Afficher le fichier Open project: LogosBible/monodevelop Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

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

Private Methods

Méthode 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 méthode

protected CreateRecentFilesProvider ( ) : MonoDevelop.Ide.Desktop.RecentFiles
Résultat MonoDevelop.Ide.Desktop.RecentFiles

GetApplications() public méthode

public GetApplications ( string filename ) : IEnumerable
filename string
Résultat IEnumerable

GetIsFullscreen() public méthode

public GetIsFullscreen ( Gtk window ) : bool
window Gtk
Résultat bool

GetPixbufFromNSImage() public static méthode

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

GetPixbufFromNSImageRep() public static méthode

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

GetUsableMonitorGeometry() public méthode

public GetUsableMonitorGeometry ( Gdk screen, int monitor_id ) : Gdk.Rectangle
screen Gdk
monitor_id int
Résultat Gdk.Rectangle

GrabDesktopFocus() public méthode

public GrabDesktopFocus ( Gtk window ) : void
window Gtk
Résultat void

IsModalDialogRunning() public méthode

public IsModalDialogRunning ( ) : bool
Résultat bool

LoadNativeToolkit() public méthode

public LoadNativeToolkit ( ) : Xwt.Toolkit
Résultat Xwt.Toolkit

MacPlatformService() public méthode

public MacPlatformService ( ) : System
Résultat System

OnGetMimeTypeForUri() protected méthode

protected OnGetMimeTypeForUri ( string uri ) : string
uri string
Résultat string

OnGetPixbufForFile() protected méthode

protected OnGetPixbufForFile ( string filename, Gtk size ) : Gdk.Pixbuf
filename string
size Gtk
Résultat Gdk.Pixbuf

OpenFile() public méthode

public OpenFile ( string filename ) : void
filename string
Résultat void

OpenTerminal() public méthode

public OpenTerminal ( FilePath directory, string>.IDictionary environmentVariables, string title ) : void
directory FilePath
environmentVariables string>.IDictionary
title string
Résultat void

SetGlobalMenu() public méthode

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

SetIsFullscreen() public méthode

public SetIsFullscreen ( Gtk window, bool isFullscreen ) : void
window Gtk
isFullscreen bool
Résultat void

ShowUrl() public méthode

public ShowUrl ( string url ) : void
url string
Résultat void

StartConsoleProcess() public méthode

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
Résultat IProcessAsyncOperation