AppInfoT.getRecommendedForType

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 g_app_info_set_as_last_used_for_type has been called. Since 2.28

template AppInfoT(TStruct)
static
ListG
getRecommendedForType
()

Parameters

contentType string

the content type to find a GAppInfo for

Return Value

Type: ListG

GList of GAppInfos for given content_type or NULL on error. [element-type GAppInfo][transfer full]

Meta