LanguageManager.getLanguage

gtksource.language.Language getLanguage(string id)

Gets the classLanguage identified by the given id in the language manager.

Parameters

ida language id.

Returns

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.