GtkTextView::set_buffer

void set_buffer(GtkTextBuffer buffer);

See also: get_buffer()