[Tutor] read-only Tkinter Entry Widget

Daniel Yoo dyoo@hkn.eecs.berkeley.edu
Wed, 7 Mar 2001 14:58:15 -0800 (PST)


On Wed, 7 Mar 2001 rickp@telocity.com wrote:

> > Because the widget's disabled, it won't listen to any keys.  
> However, it > still allows copy and paste.  Tim, is this what you
> want?
> 
> My email got disrupted so I'm coming in a little late.
> 
> Several points.
> 
> 1) The original question was about a *text* widget which does not
> support a textvariable.

Whoops.  I must remember the original problem.


> 2) Since DISABLE causes the widget not to listen to any keys, how is
> ctl-c supposed to work? I can still highlight with the mouse and then
> paste the highlighted section into another field using the mouse but I
> can't paste using ctl-v into another field.

And I need to remember the platform too.  On Unix, simply highlighting the
text is enough to do the "copy" operation; I completely forgot about how
copy/paste is done on Windows.  My apologies.