GtkEntry::set_editable

void set_editable(bool editable);

set_editable() sets the entry field to be editable by the user, or otherwise.

The default setting is true.

Note that setting set_editable() to true on top of the default setting can lead to some unexpected effects.