Pmw.scrolledText and the <Key> event

Bob Greschke bob at passcal.nmt.edu
Tue Jan 22 17:39:33 EST 2002


I'm trying to make a Pmw.scrolledText widget non-editable, or
uneditable, or whatever, by the user.  I made my regular Text widgets
uneditable by binding them to the <Key> event and calling a handler
that just returned 'break'.  But it's not working for the scrolledText
widgets.  They don't seem to be generating the <Key> event.  What
should I be looking for instead, or is there a better way to make then
uneditable?

Thanks!

Bob






More information about the Python-list mailing list