getLanguage

open fun getLanguage(id: String): Language?

Gets the class@Language identified by the given @id in the language manager.

Return

a #GtkSourceLanguage, or null if there is no language identified by the given @id. Return value is owned by @lm and should not be freed.

Parameters

id

a language id.