Returns this, for use in with statements.
Sets the workspace on which applications will be launched when using this context when running under a window manager that supports multiple workspaces, as described in the Extended Window Manager Hints.
Sets the display on which applications will be launched when using this context. See also gdk.app_launch_context.AppLaunchContext.setScreen.
Sets the icon for applications that are launched with this context.
Sets the icon for applications that are launched with this context. The icon_name will be interpreted in the same way as the Icon field in desktop files. See also gdk.app_launch_context.AppLaunchContext.setIcon.
Sets the screen on which applications will be launched when using this context. See also gdk.app_launch_context.AppLaunchContext.setDisplay.
Sets the timestamp of context. The timestamp should ideally be taken from the event that triggered the launch.
Get builder for gdk.app_launch_context.AppLaunchContext
Returns this, for use in with statements.
Get builder for gio.app_launch_context.AppLaunchContext
Gets the display string for the context. This is used to ensure new applications are started on the same display as the launching application, by setting the DISPLAY environment variable.
Gets the complete environment variable list to be passed to the child process when context is used to launch an application. This is a null-terminated array of strings, where each string has the form KEY=VALUE.
Initiates startup notification for the application and returns the XDG_ACTIVATION_TOKEN or DESKTOP_STARTUP_ID for the launched operation, if supported.
Called when an application has failed to launch, so that it can cancel the application startup notification started in gio.app_launch_context.AppLaunchContext.getStartupNotifyId.
Arranges for variable to be set to value in the child's environment when context is used to launch an application.
Arranges for variable to be unset in the child's environment when context is used to launch an application.
Connect to LaunchFailed signal.
Connect to LaunchStarted signal.
Connect to Launched signal.
GdkAppLaunchContext is an implementation of #GAppLaunchContext that handles launching an application in a graphical context. It provides startup notification and allows to launch applications on a specific screen or workspace.
Launching an application