GtkText::set_editable

void set_editable(bool editable);

set_editable() , when set to true, allows the user to write to or manipulate existing text displayed in the widget.

The default setting is false.