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
boolconstructArguments
ConstructArgument[]
AppLaunchContext(IntPtr, bool)
protected AppLaunchContext(IntPtr ptr, bool ownedRef)
Parameters
Fields
LaunchFailedSignal
Signal Descriptor for OnLaunchFailed.
public static readonly Signal<AppLaunchContext, AppLaunchContext.LaunchFailedSignalArgs> LaunchFailedSignal
Field Value
LaunchStartedSignal
Signal Descriptor for OnLaunchStarted.
public static readonly Signal<AppLaunchContext, AppLaunchContext.LaunchStartedSignalArgs> LaunchStartedSignal
Field Value
LaunchedSignal
Signal Descriptor for OnLaunched.
public static readonly Signal<AppLaunchContext, AppLaunchContext.LaunchedSignalArgs> LaunchedSignal
Field Value
Methods
GetDisplay(AppInfo, List)
public string? GetDisplay(AppInfo info, List files)
Parameters
Returns
GetEnvironment()
[Version("2.32")]
public string[] GetEnvironment()
Returns
- string[]
GetGType()
public static Type GetGType()
Returns
GetStartupNotifyId(AppInfo, List)
public string? GetStartupNotifyId(AppInfo info, List files)
Parameters
Returns
LaunchFailed(string)
public void LaunchFailed(string startupNotifyId)
Parameters
startupNotifyId
string
New()
public static AppLaunchContext New()
Returns
Setenv(string, string)
[Version("2.32")]
public void Setenv(string variable, string value)
Parameters
Unsetenv(string)
[Version("2.32")]
public void Unsetenv(string variable)
Parameters
variable
string
Events
OnLaunchFailed
public event SignalHandler<AppLaunchContext, AppLaunchContext.LaunchFailedSignalArgs> OnLaunchFailed
Event Type
OnLaunchStarted
public event SignalHandler<AppLaunchContext, AppLaunchContext.LaunchStartedSignalArgs> OnLaunchStarted
Event Type
OnLaunched
public event SignalHandler<AppLaunchContext, AppLaunchContext.LaunchedSignalArgs> OnLaunched