[Tutor] Tkinter Text Boxes

Hugo González Monteverde hugonz-lists at h-lab.net
Wed Oct 20 20:14:22 CEST 2004


There is an "enable" configuration option for the text box. When you 
disble it, you won't be able to print anything to it, and so won't the 
user. You then have to do:

enable
put text in the box
diable

I believe this would be it:

mytextbox.configure(state="enabled")
#DO your widget updating here...
mytextbox.configure(state="disabled")


Jeremiah Rushton wrote:
> I wanted to make a Text box where I can continuously enter information
> but the user could not edit the information in the text box.  Is there
> a command/method to disable interaction with the Text box while still
> being able to insert strings into it?  Or would it be easier just to
> use the Listbox, and if that is the case, how can I stop the Listbox
> from putting a line or dot at the end of each list line in the
> Listbox?
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 


More information about the Tutor mailing list