Tkinter.Text: prevent user modifications

Raimo Tuisku raimo-news at mail.com
Wed Jul 31 18:51:59 EDT 2002


What is the best way to prevent user from editing the contents of
Tkinter.Text wiget but editing from the code would be possible.
config(state) changes this, but then Tkinter.Text.insert won't work. Do I
have to change the behavior of the widget every time I insert text or is
there another way? Is it possible that the user can edit it when
the state configuration is temporarily changed?-)

-- 
Raimo Tuisku



More information about the Python-list mailing list