AppInfo.getAllForType

gio.app_info.AppInfo[] getAllForType(string contentType)

Gets a list of all #GAppInfos for a given content type, including the recommended and fallback #GAppInfos. See gio.app_info.AppInfo.getRecommendedForType and gio.app_info.AppInfo.getFallbackForType.

Parameters

contentTypethe content type to find a #GAppInfo for

Returns

#GList of #GAppInfos

for given content_type or null on error.