LanguageManager.getLanguage

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

class LanguageManager
getLanguage
(
string id
)

Parameters

id string

a language id.

Return Value

Type: gtksource.language.Language

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.