Text widget eats Tabs? 
Author Message
 Text widget eats Tabs?

Is this a bug or are there related issues i am missing. If it is a
bug, then I can report it, but i thought i'd ask here first. in case i
am missing something, i dont want to raise false alarms.

## start program

# demonstrates how a call to bindtags() to
# swap the first two elements of the bindtags tuple
# will make the Text widget insensitive to Tabs

from Tkinter import *

def key_event(event):
        print 'keysym:' + event.keysym

root = Tk()
text = Text(root,height=10,width=50,font='courier 9')
text.bind("<Key>", key_event)
l_b_ts = text.bindtags()

# after the next line, the Key event wont be raised for Tabs

Sun, 16 Nov 2003 12:43:07 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Some questions on elided text in the text widget (and a few other text widget questions)

2. tab gets "lost" in text widget

3. Converting tab witdth in Text widget

4. tab every n in text widget

5. Tabs in the text widget

6. Binding <Tab> in a text widget

7. Tabs in text widget

8. readonly Text and Tab widget

9. Need Help in Correcting Tabs in text Widget

10. How To Change Tab Stops in Text Widget?

11. Tabbing out of Text Widget?

12. BUG? Tabs and regexp search in text widget


Powered by phpBB® Forum Software