Constructor

GtkTextBuffernew

Declaration [src]

GtkTextBuffer*
gtk_text_buffer_new (
  GtkTextTagTable* table
)

Description [src]

Creates a new text buffer.

Parameters

table

Type: GtkTextTagTable

A tag table, or NULL to create a new one.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: GtkTextBuffer

A new text buffer.

The caller of the function takes ownership of the data, and is responsible for freeing it.