null on error.
AppInfo.getDefaultForType
gio.app_info.AppInfo getDefaultForType(string contentType, bool mustSupportUris)Gets the default #GAppInfo for a given content type.
Parameters
contentType | the content type to find a #GAppInfo for |
mustSupportUris | if true, the #GAppInfo is expected to support URIs |
Returns
#GAppInfo for given content_type or