Package: gio

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

Lambda List

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

Arguments

uri-scheme -- a string containing a URI scheme
cancellable -- a g:cancellable object, can be nil
func -- a g:async-ready-callback callback function to call when the request is done

Details

Asynchronously gets the default application for handling URIs with the given URI scheme. A URI scheme is the initial part of the URI, up to but not including the :, for example, http, ftp or sip.

This function completes asynchronously. Use the g:app-info-default-for-uri-scheme-finish function inside the g:async-ready-callback callback function to obtain the result of the operation.

Since 2.74
 

See also

#2025-05-01