bytecolor wrote:

[...]

> changing = False
> root = tk.Tk()
> t = tk.Text(master=root)
> t.pack()
> t.focus_set()
> t.tk.call(t._w, 'edit', 'modified', 0)

What about instead of:

> t.bind('<<Modified>>', text_changed)

this event:

   t.bind('<KeyRelease>', text_changed)

> root.mainloop()

--
HTH,
Rob

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

Reply via email to