Re: Entry widget -- how to prevent change

2005-11-22 Thread Fredrik Lundh
"wanwan" <[EMAIL PROTECTED]> wrote: > let's say I already have some content. How do I set the widget so user > cannot change it/? assuming that you're talking about the Tkinter Entry widget, setting the state option to "readonly" should do the trick: e = Entry(...) e.config(state="reado

Re: Entry widget -- how to prevent change

2005-11-22 Thread Grant Edwards
On 2005-11-22, wanwan <[EMAIL PROTECTED]> wrote: > let's say I already have some content. How do I set the widget so user > cannot change it/? Most widgets have some sort of "read-only" or "edit enable" attribute you can set. Look at the documentation for the widget in question. Since you don'

Entry widget -- how to prevent change

2005-11-22 Thread wanwan
let's say I already have some content. How do I set the widget so user cannot change it/? -- http://mail.python.org/mailman/listinfo/python-list