class ReadOnlyText(Text):

    def __init__(self, *args, **kwargs):
        Text.__init__(self, *args, **kwargs)
self.redirector = WidgetRedirector(self)
self.insert = self.redirector.register('insert', lambda *args, **kw: 'break')
self.delete = self.redirector.register('delete', lambda *args, **kw: 'break')
Is there a way to make the Tkinter text widget read only?