AppInfoT.launchUris

Launches the application. This passes the uris to the launched application as arguments, using the optional launch_context to get information about the details of the launcher (like what screen it is on). On error, error will be set accordingly. To launch the application without arguments pass a NULL uris list. Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup. There is no way to detect this.

template AppInfoT(TStruct)
int
launchUris

Parameters

uris ListG

a GList containing URIs to launch. [allow-none][element-type utf8]

launchContext AppLaunchContext

a GAppLaunchContext or NULL. [allow-none]

Return Value

Type: int

TRUE on successful launch, FALSE otherwise.

Throws

GException on failure.

Meta