TextBuffer


Object Hierarchy:

Gtk.TextBuffer Gtk.TextBuffer Gtk.TextBuffer GLib.Object GLib.Object GLib.Object->Gtk.TextBuffer

Description:

[ CCode ( type_id = "gtk_text_buffer_get_type ()" ) ]
public class TextBuffer : Object

Stores text and attributes for display in a `GtkTextView`.

You may wish to begin by reading the [text widget conceptual overview](section-text-widget.html), which gives an overview of all the objects and data types related to the text widget and how they work together.

GtkTextBuffer can support undoing changes to the buffer content, see [method@Gtk.TextBuffer.set_enable_undo].


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members: