Hi tutors.

Is there a way to remap a tab key to enter a user-specified number of spaces in 
a Tkinter text widget instead of a genuine tab? An internet search has turned 
up zilch. The tab option in a text widget lets you enter the number of 
centimeters to space over, but this option is truly useless when you want real 
live spaces instead.

I tried using 'bind' to call a method that inserts 4 spaces, for example, but 
this approach enters the number of spaces AND a tab as well (as expected, after 
thinking about it). Not good.

Any ideas?
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to