I'm having trouble with using the <Key> event with the Text object.
When I use them together (which is a logical combination), I use this
code:

        textbox = Text(root, wrap="word", height=15, width=50)
        textbox.bind("<Key>", resolveGlyphs)

def resolveGlyphs(event):
        textBuf = textbox.get(1.0, END)
        print(textBuf)

What it prints out for me is everything except for the last character
-- the one that triggered the event.  How can I get the entire
contents?

I apologize if this has already been discussed.  I searched and
couldn't find it.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to