AppLaunchContext
Object Hierarchy:
Description:
Integrating the launch with the launching application. This is used to handle for instance startup notification and launching the new
application on the same screen as the launching window.
Namespace: GLib
Package: gio-2.0
Content:
Creation methods:
Methods:
-
public virtual string get_display (AppInfo info, List<File> files)
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.
-
public virtual string get_startup_notify_id (AppInfo info, List<File> files)
Initiates startup notification for the application and returns the DESKTOP_STARTUP_ID for
the launched operation, if supported.
-
public virtual void launch_failed (string startup_notify_id)
Called when an application has failed to launch, so that it can cancel the application startup
notification started in get_startup_notify_id.