Text.newWithBuffer

Creates a new [gtk.text.Text] with the specified text buffer.

Parameters

bufferThe buffer to use for the new [gtk.text.Text].

Returns

a new [gtk.text.Text]