Gtk.Editable.prototype.set_editable

function set_editable(is_editable:Boolean):void {
    // Gjs wrapper for gtk_editable_set_editable()
}

Determines if the user can edit the text in the editable widget or not.

is_editable

true if the user is allowed to edit the text in the widget