Buffer

constructor(table: <Error class: unknown class>? = null)

Creates a new source buffer.

Return

a new source buffer.

Parameters

table

a #GtkTextTagTable, or null to create a new one.


constructor(language: Language)

Creates a new source buffer using the highlighting patterns in language.

This is equivalent to creating a new source buffer with a new tag table and then calling method@Buffer.set_language.

Return

a new source buffer which will highlight text according to the highlighting patterns in language.

Parameters

language

a #GtkSourceLanguage.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)