From: Hidetoshi NAGAI Date: 2008-09-02T12:29:43+09:00 Subject: Re: Most elegant way to 'reroute' Text widget events? From: Kenneth McDonald Subject: Most elegant way to 'reroute' Text widget events? Date: Tue, 2 Sep 2008 11:37:33 +0900 Message-ID: <938E7663-22BD-4106-BECF-B7C405CF44E7@sbcglobal.net> > strikes me as highly inelegant. I'm assuming that somehow I need to > (1) unbind the text widget I'm using from all events, and then (2) > bind all key events to (say) the top-level window. Unfortunately, my > attempts at this have met with little success. (None). Could some Tk- > fu master point me in the right direction? (At the moment, I simply > can't get things unbound from the text widget; I thought > text.bindtags([]) might work, but it didn't.) Probably, the most simple way is --------------------------------- text.bindtags -= [TkText] --------------------------------- -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)