Gio.AppInfo.get_default_for_type
function get_default_for_type(content_type: String, must_support_uris: Boolean): Gio.AppInfo {
// Gjs wrapper for g_app_info_get_default_for_type()
}
Gets the default Gio.AppInfo for a given content type.
- content_type
the content type to find a Gio.AppInfo for
- must_support_uris
if true, the Gio.AppInfo is expected to support URIs
- Returns
Gio.AppInfo for given content_type or null on error.