Gio.AppInfo.prototype.set_as_default_for_type
function set_as_default_for_type(content_type: String): Boolean { // Gjs wrapper for g_app_info_set_as_default_for_type() }
Sets the application as the default handler for a given type.
- content_type
the content type.
- Returns
true on success, false on error.