AppInfoIF.launchDefaultForUri

Utility function that launches the default application registered to handle the specified uri. Synchronous I/O is done on the uri to detect the type of the file if required.

interface AppInfoIF
static
bool
launchDefaultForUri

Parameters

uri string

the uri to show

launchContext AppLaunchContext

an optional #GAppLaunchContext

Return: %TRUE on success, %FALSE on error.

Throws

GException on failure.

Meta