AppInfo.getAllForType

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.

interface AppInfo
static
getAllForType
()

Parameters

contentType string

the content type to find a #GAppInfo for

Return Value

Type: gio.app_info.AppInfo[]

#GList of #GAppInfos for given content_type or null on error.