python - Horizontal and vertical scrolling for a Text widget -


i'm looking simple way (possibly through flags) make text widget scroll horizontally, when typed text inside gets out of range. if know way, scrolling vertically to, please let me know.

disable word wrap in text widget. text scroll horizontally type past end of line:

try:     tkinter import *    # python 2 except importerror:     tkinter import *    # python 3  root = tk() t = text(root, wrap=none) t.pack() root.mainloop() 

vertical scrolling comes free.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -