Table of Contents

Class OsxAppInfo

Namespace
Gio
Assembly
Gio-2.0.dll
public class OsxAppInfo : Object, IObject, INotifyPropertyChanged, IDisposable, AppInfo, IHandle, GTypeProvider
Inheritance
OsxAppInfo
Implements
Inherited Members

Constructors

OsxAppInfo(bool, params ConstructArgument[])

protected OsxAppInfo(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

OsxAppInfo(IntPtr, bool)

protected OsxAppInfo(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

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()

public AppInfo 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()

public Icon? GetIcon()

Returns

Icon

GetId()

public string? GetId()

Returns

string

GetName()

public 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()

public bool ShouldShow()

Returns

bool

SupportsFiles()

public bool SupportsFiles()

Returns

bool

SupportsUris()

public bool SupportsUris()

Returns

bool