[Tkinter-discuss] copy-enabled Label

oc-spam66 oc-spam66 at laposte.net
Mon May 25 23:04:19 CEST 2009


Hello,

@ Michael Lange :

thank you for the keyword : state='readonly'. This is what I needed.

It doesn't show in any of the general documentation I had on Tkinter, but it is
indeed in the Tk man page of the "Entry" widget.

@ Michael O'Donnell :

> The original poster should note that every time you want to change
> the text displayed, you need to change the state to normal, change the
> text, and then re-assert state='readonly'.

In fact I am using a "textvariable" link, so I don't need to do this.

Regards,

O.C.


 Créez votre adresse électronique prenom.nom at laposte.net 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20090525/eca391ef/attachment.htm>


More information about the Tkinter-discuss mailing list