GtkTextView::set_editable

void set_editable(bool setting);

See also: get_editable()