W Wrapl, The Programming Language

Libraries:Gtk:Gio:GAppLaunchContext

Types

T

Inherits from:

Constants

Nil : T

Functions

GetType() : Gtk.GObject.Type.T



New() : Gtk.Gio.GAppLaunchContext.T

Creates a new application launch context. This is not normally used, instead you instantiate a subclass of this, such as Gtk.Gdk.AppLaunchContext.T.

Returns a T.


Methods

:GetDisplay(self @ T, info @ Gtk.Gio.GAppInfo.T, files @ Std.Object.T) : Std.String.T

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.

context a T
info a Gtk.Gio.GAppInfo.T
files a GList of Gtk.Gio.GFile.T objects. [element-type GFile]
Returns a display string for the display.


:GetStartupNotifyId(self @ T, info @ Gtk.Gio.GAppInfo.T, files @ Std.Object.T) : Std.String.T

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

Startup notification IDs are defined in the FreeDesktop.Org Startup Notifications standard.

context a T
info a Gtk.Gio.GAppInfo.T
files a GList of of Gtk.Gio.GFile.T objects. [element-type GFile]
Returns a startup notification ID for the application, or NULL if not supported.


:LaunchFailed(self @ T, startup_notify_id @ Std.String.T) : Std.Object.T

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

context a T.
startup_notify_id the startup notification id that was returned by GetStartupNotifyId.


:Priv(self @ T) : Std.Object.T

:setPriv(self @ T, value @ Std.Object.T) : Std.Object.T