[issue2754] Mac version of IDLE doesn't scroll as expected
Guilherme Polo
report at bugs.python.org
Fri Jan 2 15:13:10 CET 2009
Guilherme Polo <ggpolo at 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 <report at bugs.python.org>
<http://bugs.python.org/issue2754>
_______________________________________
More information about the Python-bugs-list
mailing list