Gio.AppInfo.prototype.add_supports_type

function add_supports_type(content_type: String): Boolean {
    // Gjs wrapper for g_app_info_add_supports_type()
}
  

Adds a content type to the application information to indicate the application is capable of opening files with the given content type.

content_type

a string.

Returns

true on success, false on error.