Tkinter Text
Martin Franklin
martin.franklin at westgeo.com
Thu Jan 31 16:03:37 EST 2002
Jeffrey wrote:
> Hi Everyone,
> I have a question about the Tkinter Text Widget. I want to make it
> so that I disable the user's ability to write text. I know that it is
> possible to do this by doing: text_widget.configure( state =
> 'disabled' ). But when I do this I also lose the ability to scroll
> up/down/left/right/pageUP/pageDown. I don't want the user to lose the
> ability to use the keyboard as a scroll method. Does anyone know how
> to solve this off the top of their head?
>
> Thanks,
> Jeff
>
Jeff,
You could try binding <Up>, <Down> etc etc to the parent widget then
passing these onto the scroll bars.....
Martin
More information about the Python-list
mailing list