CompletionContext.getLanguage

Gets the language of the underlying buffer, if any.

class CompletionContext
getLanguage
()

Return Value

Type: gtksource.language.Language

a #GtkSourceLanguage or null