"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="readonly")

also see

    http://effbot.org/tkinterbook/entry.htm#Tkinter.Entry.config-method

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to