Table of Contents

Class AppLaunchContext

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

Constructors

AppLaunchContext(bool, params ConstructArgument[])

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

Parameters

owned bool
constructArguments ConstructArgument[]

AppLaunchContext(IntPtr, bool)

protected AppLaunchContext(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

LaunchFailedSignal

Signal Descriptor for OnLaunchFailed.

public static readonly Signal<AppLaunchContext, AppLaunchContext.LaunchFailedSignalArgs> LaunchFailedSignal

Field Value

Signal<AppLaunchContext, AppLaunchContext.LaunchFailedSignalArgs>

LaunchStartedSignal

Signal Descriptor for OnLaunchStarted.

public static readonly Signal<AppLaunchContext, AppLaunchContext.LaunchStartedSignalArgs> LaunchStartedSignal

Field Value

Signal<AppLaunchContext, AppLaunchContext.LaunchStartedSignalArgs>

LaunchedSignal

Signal Descriptor for OnLaunched.

public static readonly Signal<AppLaunchContext, AppLaunchContext.LaunchedSignalArgs> LaunchedSignal

Field Value

Signal<AppLaunchContext, AppLaunchContext.LaunchedSignalArgs>

Methods

GetDisplay(AppInfo, List)

public string? GetDisplay(AppInfo info, List files)

Parameters

info AppInfo
files List

Returns

string

GetEnvironment()

[Version("2.32")]
public string[] GetEnvironment()

Returns

string[]

GetGType()

public static Type GetGType()

Returns

Type

GetStartupNotifyId(AppInfo, List)

public string? GetStartupNotifyId(AppInfo info, List files)

Parameters

info AppInfo
files List

Returns

string

LaunchFailed(string)

public void LaunchFailed(string startupNotifyId)

Parameters

startupNotifyId string

New()

public static AppLaunchContext New()

Returns

AppLaunchContext

Setenv(string, string)

[Version("2.32")]
public void Setenv(string variable, string value)

Parameters

variable string
value string

Unsetenv(string)

[Version("2.32")]
public void Unsetenv(string variable)

Parameters

variable string

Events

OnLaunchFailed

public event SignalHandler<AppLaunchContext, AppLaunchContext.LaunchFailedSignalArgs> OnLaunchFailed

Event Type

SignalHandler<AppLaunchContext, AppLaunchContext.LaunchFailedSignalArgs>

OnLaunchStarted

public event SignalHandler<AppLaunchContext, AppLaunchContext.LaunchStartedSignalArgs> OnLaunchStarted

Event Type

SignalHandler<AppLaunchContext, AppLaunchContext.LaunchStartedSignalArgs>

OnLaunched

public event SignalHandler<AppLaunchContext, AppLaunchContext.LaunchedSignalArgs> OnLaunched

Event Type

SignalHandler<AppLaunchContext, AppLaunchContext.LaunchedSignalArgs>