AppInfo.getDefaultForType

Gets the default #GAppInfo for a given content type.

interface AppInfo
static
getDefaultForType

Parameters

contentType string

the content type to find a #GAppInfo for

mustSupportUris bool

if true, the #GAppInfo is expected to support URIs

Return Value

Type: gio.app_info.AppInfo

#GAppInfo for given content_type or null on error.