Companion
Functions
Creates a new iface@Gio.AppInfo from the given information.
Gets a list of all iface@Gio.AppInfos for a given content type, including the recommended and fallback iface@Gio.AppInfos. See func@Gio.AppInfo.get_recommended_for_type and func@Gio.AppInfo.get_fallback_for_type.
Gets the default iface@Gio.AppInfo for a given content type.
Asynchronously gets the default iface@Gio.AppInfo for a given content type.
Finishes a default iface@Gio.AppInfo lookup started by func@Gio.AppInfo.get_default_for_type_async.
Gets the default application for handling URIs with the given URI scheme.
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 :
, e.g. http
, ftp
or sip
.
Finishes a default iface@Gio.AppInfo lookup started by func@Gio.AppInfo.get_default_for_uri_scheme_async.
Gets a list of fallback iface@Gio.AppInfos for a given content type, i.e. those applications which claim to support the given content type by MIME type subclassing and not directly.
Gets a list of recommended iface@Gio.AppInfos for a given content type, i.e. those applications which claim to support the given content type exactly, and not by MIME type subclassing.
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.
Async version of func@Gio.AppInfo.launch_default_for_uri.
Finishes an asynchronous launch-default-for-uri operation.
Removes all changes to the type associations done by method@Gio.AppInfo.set_as_default_for_type, method@Gio.AppInfo.set_as_default_for_extension, method@Gio.AppInfo.add_supports_type or method@Gio.AppInfo.remove_supports_type.