Gio.AppInfo.get_fallback_for_type
function get_fallback_for_type(content_type: String): Array(Gio.AppInfo) {
// Gjs wrapper for g_app_info_get_fallback_for_type()
}
Gets a list of fallback #GAppInfos for a given content type, i.e. those applications which claim to support the given content type by MIME type subclassing and not directly.
Since 2.28
- content_type
the content type to find a Gio.AppInfo for
- Returns
GLib.List of #GAppInfos for given content_type or null on error.