Buffer.getLanguage

Returns the classLanguage associated with the buffer, see gtksource.buffer.Buffer.setLanguage.

The returned object should not be unreferenced by the user.

class Buffer
getLanguage
()

Return Value

Type: gtksource.language.Language

the classLanguage associated with the buffer, or null.