Guilherme Polo <ggp...@gmail.com> added the comment:

I see some issues related to scrolling under macosx were fixed in tk
8.4.13, but I can't test them since I don't have a mac.

If scrolling doesn't work with the example below then I can just say the
problem is indeed with tk, but you could try upgrading it.

import Tkinter

root = Tkinter.Tk()

text = Tkinter.Text()
text.focus_set()
vbar = Tkinter.Scrollbar(orient='vertical', command=text.yview)
text.configure(yscrollcommand=vbar.set)

vbar.pack(side='right', fill='y')
text.pack(fill='both', expand=True)

for l in range(int(text['height']) + 10):
    text.insert('end', "x\n")

root.mainloop()

----------
nosy: +gpolo
Added file: http://bugs.python.org/file12539/tktext_scroll.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2754>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to