Class OsxAppInfo
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class OsxAppInfo : Object, IDisposable, AppInfo, GTypeProvider, InstanceFactory
- Inheritance
-
OsxAppInfo
- Implements
-
- Inherited Members
-
Constructors
OsxAppInfo(params ConstructArgument[])
public OsxAppInfo(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
OsxAppInfo(OsxAppInfoHandle)
public OsxAppInfo(OsxAppInfoHandle handle)
Parameters
handle
OsxAppInfoHandle
Methods
AddSupportsType(string)
public bool AddSupportsType(string contentType)
Parameters
contentType
string
Returns
- bool
CanDelete()
[Version("2.20")]
public bool CanDelete()
Returns
- bool
CanRemoveSupportsType()
public bool CanRemoveSupportsType()
Returns
- bool
Delete()
[Version("2.20")]
public bool Delete()
Returns
- bool
Dup()
Returns
- AppInfo
Equal(AppInfo)
public bool Equal(AppInfo appinfo2)
Parameters
appinfo2
AppInfo
Returns
- bool
GetAllForScheme(string)
public static List GetAllForScheme(string scheme)
Parameters
scheme
string
Returns
- List
GetCommandline()
[Version("2.20")]
public string? GetCommandline()
Returns
- string
GetDescription()
public string? GetDescription()
Returns
- string
GetDisplayName()
[Version("2.24")]
public string GetDisplayName()
Returns
- string
GetExecutable()
public string GetExecutable()
Returns
- string
GetFilename()
public string GetFilename()
Returns
- string
GetGType()
public static Type GetGType()
Returns
- Type
GetIcon()
Returns
- Icon
GetId()
Returns
- string
GetName()
Returns
- string
GetSupportedTypes()
[Version("2.34")]
public string[] GetSupportedTypes()
Returns
- string[]
Launch(List?, AppLaunchContext?)
public bool Launch(List? files, AppLaunchContext? context)
Parameters
files
List
context
AppLaunchContext
Returns
- bool
LaunchUris(List?, AppLaunchContext?)
public bool LaunchUris(List? uris, AppLaunchContext? context)
Parameters
uris
List
context
AppLaunchContext
Returns
- bool
LaunchUrisFinish(AsyncResult)
[Version("2.60")]
public bool LaunchUrisFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
- bool
RemoveSupportsType(string)
public bool RemoveSupportsType(string contentType)
Parameters
contentType
string
Returns
- bool
SetAsDefaultForExtension(string)
public bool SetAsDefaultForExtension(string extension)
Parameters
extension
string
Returns
- bool
SetAsDefaultForType(string)
public bool SetAsDefaultForType(string contentType)
Parameters
contentType
string
Returns
- bool
SetAsLastUsedForType(string)
public bool SetAsLastUsedForType(string contentType)
Parameters
contentType
string
Returns
- bool
ShouldShow()
Returns
- bool
SupportsFiles()
public bool SupportsFiles()
Returns
- bool
SupportsUris()
public bool SupportsUris()
Returns
- bool