for given content_type or null on error.
AppInfo.getRecommendedForType
gio.app_info.AppInfo[] getRecommendedForType(string contentType)Gets a list of recommended #GAppInfos for a given content type, i.e. those applications which claim to support the given content type exactly, and not by MIME type subclassing. Note that the first application of the list is the last used one, i.e. the last one for which [gio.app_info.AppInfo.setAsLastUsedForType] has been called.
Parameters
contentType | the content type to find a #GAppInfo for |
Returns
#GList of #GAppInfos