Table of Contents

Interface AppInfo

Namespace
Gio
Assembly
Gio-2.0.dll
public interface AppInfo : IHandle
Inherited Members

Methods

AddSupportsType(string)

bool AddSupportsType(string contentType)

Parameters

contentType string

Returns

bool

CanDelete()

[Version("2.20")]
bool CanDelete()

Returns

bool

CanRemoveSupportsType()

bool CanRemoveSupportsType()

Returns

bool

Delete()

[Version("2.20")]
bool Delete()

Returns

bool

Dup()

AppInfo Dup()

Returns

AppInfo

Equal(AppInfo)

bool Equal(AppInfo appinfo2)

Parameters

appinfo2 AppInfo

Returns

bool

GetCommandline()

[Version("2.20")]
string? GetCommandline()

Returns

string

GetDescription()

string? GetDescription()

Returns

string

GetDisplayName()

[Version("2.24")]
string GetDisplayName()

Returns

string

GetExecutable()

string GetExecutable()

Returns

string

GetIcon()

Icon? GetIcon()

Returns

Icon

GetId()

string? GetId()

Returns

string

GetName()

string GetName()

Returns

string

GetSupportedTypes()

[Version("2.34")]
string[] GetSupportedTypes()

Returns

string[]

Launch(List?, AppLaunchContext?)

bool Launch(List? files, AppLaunchContext? context)

Parameters

files List
context AppLaunchContext

Returns

bool

LaunchUris(List?, AppLaunchContext?)

bool LaunchUris(List? uris, AppLaunchContext? context)

Parameters

uris List
context AppLaunchContext

Returns

bool

LaunchUrisFinish(AsyncResult)

[Version("2.60")]
bool LaunchUrisFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

RemoveSupportsType(string)

bool RemoveSupportsType(string contentType)

Parameters

contentType string

Returns

bool

SetAsDefaultForExtension(string)

bool SetAsDefaultForExtension(string extension)

Parameters

extension string

Returns

bool

SetAsDefaultForType(string)

bool SetAsDefaultForType(string contentType)

Parameters

contentType string

Returns

bool

SetAsLastUsedForType(string)

bool SetAsLastUsedForType(string contentType)

Parameters

contentType string

Returns

bool

ShouldShow()

bool ShouldShow()

Returns

bool

SupportsFiles()

bool SupportsFiles()

Returns

bool

SupportsUris()

bool SupportsUris()

Returns

bool