Package: gio

Function gio:app-info-default-for-type-async

Lambda List

gio:app-info-default-for-type-async (ctype must-support-uris cancellable func)

Arguments

ctype -- a string for the content type
must-support-uris -- if true, the application info is expected to support URIs
cancellable -- a g:cancellable object, can be nil
func -- a g:async-ready-callback callback function to call when the request is done

Return Value

The g:app-info instance for the given ctype or nil on error.

Details

Asynchronously gets the default g:app-info instance for a given content type.

This function completes asynchronously. Use the g:app-info-default-for-type-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