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

template AppInfoT(TStruct)
static
bool
launchDefaultForUri

Parameters

uri string

the uri to show

launchContext AppLaunchContext

an optional #GAppLaunchContext

Return Value

Type: bool

%TRUE on success, %FALSE on error.

Throws

GException on failure.

Meta