Gio.SettingsSchemaKey.prototype.get_description
function get_description(): String { // Gjs wrapper for g_settings_schema_key_get_description() }
Gets the description for key.
If no description has been provided in the schema for key, returns null.
The description can be one sentence to several paragraphs in length. Paragraphs are delimited with a double newline. Descriptions can be translated and the value returned from this function is is the current locale.
This function is slow. The summary and description information for the schemas is not stored in the compiled schema database so this function has to parse all of the source XML files in the schema directory.
Since 2.34
- Returns
the description for key, or null