Package: gio

Function gio:app-info-launch-default-for-uri-async

Lambda List

gio:app-info-launch-default-for-uri-async (uri context cancellable func)

Arguments

uri -- a string with the URI to show
context -- an optional g:app-launch-context object, or nil
cancellable -- a g:cancellable object
func -- a g:async-ready-callback callback function to call when the request is done

Details

Asynchronous version of the g:app-info-launch-default-for-uri function. This version is useful if you are interested in receiving error information in the case where the application is sandboxed and the portal may present an application chooser dialog to the user.

This is also useful if you want to be sure that the D-Bus–activated applications are really started before termination and if you are interested in receiving error information from their activation.
 

See also

2024-12-22