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
int
launchDefaultForUri

Parameters

uri string

the uri to show

launchContext AppLaunchContext

an optional GAppLaunchContext. [allow-none]

Return Value

Type: int

TRUE on success, FALSE on error.

Throws

GException on failure.

Meta