void gtk_text_view_set_buffer ( GtkTextView* text_view, GtkTextBuffer* buffer )
buffer as the buffer being displayed by
The previous buffer displayed by the text view is unreferenced, and
a reference is added to
buffer. If you owned a reference to
before passing it to this function, you must remove that reference
GtkTextView will not “adopt” it.
The argument can be
The data is owned by the caller of the method.