### Class

# GdkX11 X11AppLaunchContext

since: 4.0

#### Description

    final class GdkX11.X11AppLaunchContext : Gdk.AppLaunchContext
    {
      /* No available fields */
    }

No description available.

Available since: 4.0

#### Ancestors

- GdkAppLaunchContext
- GAppLaunchContext
- GObject

#### Instance methods

##### Methods inherited from GdkAppLaunchContext (5)

###### gdk_app_launch_context_get_display

Gets the `GdkDisplay` that `context` is for.

since: 4.0

###### gdk_app_launch_context_set_desktop

Sets the workspace on which applications will be launched.

since: 4.0

###### gdk_app_launch_context_set_icon

Sets the icon for applications that are launched with this context.

since: 4.0

###### gdk_app_launch_context_set_icon_name

Sets the icon for applications that are launched with this context.

since: 4.0

###### gdk_app_launch_context_set_timestamp

Sets the timestamp of `context`.

since: 4.0

##### Methods inherited from GAppLaunchContext (6)

###### g_app_launch_context_get_display

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.

since: 2.0

###### g_app_launch_context_get_environment

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`.

since: 2.32

###### g_app_launch_context_get_startup_notify_id

Initiates startup notification for the application and returns the `XDG_ACTIVATION_TOKEN` or `DESKTOP_STARTUP_ID` for the launched operation, if supported.

since: 2.0

###### g_app_launch_context_launch_failed

Called when an application has failed to launch, so that it can cancel the application startup notification started in g_app_launch_context_get_startup_notify_id().

since: 2.0

###### g_app_launch_context_setenv

Arranges for `variable` to be set to `value` in the child’s environment when `context` is used to launch an application.

since: 2.32

###### g_app_launch_context_unsetenv

Arranges for `variable` to be unset in the child’s environment when `context` is used to launch an application.

since: 2.32

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

##### Properties inherited from GdkAppLaunchContext (1)

###### Gdk.AppLaunchContext:display

The display that the `GdkAppLaunchContext` is on.

since: 4.0

#### Signals

##### Signals inherited from GAppLaunchContext (3)

###### GAppLaunchContext::launch-failed

The `GAppLaunchContext::launch-failed` signal is emitted when a `GAppInfo` launch fails. The startup notification id is provided, so that the launcher can cancel the startup notification.

since: 2.36

###### GAppLaunchContext::launch-started

The `GAppLaunchContext::launch-started` signal is emitted when a `GAppInfo` is about to be launched. If non-null the `platform_data` is an GVariant dictionary mapping strings to variants (ie `a{sv}`), which contains additional, platform-specific data about this launch. On UNIX, at least the `startup-notification-id` keys will be present.

since: 2.72

###### GAppLaunchContext::launched

The `GAppLaunchContext::launched` signal is emitted when a `GAppInfo` is successfully launched.

since: 2.36

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

since: 2.0

#### Class structure

    struct GdkX11X11AppLaunchContextClass {
      /* no available fields */
    }

No description available.