Message82560
Just an ignorance issue, I supposed. I didn't realize that it was
that simple. Still a novice at all of the methods available.
In that case, the only advantage is in case you don't want to always
manually set it to the end. No good reason to change it otherwise.
On Feb 20, 2009, at 12:36 PM, Guilherme Polo wrote:
>
> Guilherme Polo <ggpolo@gmail.com> added the comment:
>
> Do you mean something like this:
>
> import Tkinter
>
> def insert():
> text.insert('end', 'buh\n')
> text.see('end')
> text.after(100, insert)
>
> text = Tkinter.Text()
> text.pack(expand=True, fill='both', side='left')
> vbar = Tkinter.Scrollbar(orient='vertical', command=text.yview)
> vbar.pack(side='right', fill='y')
> text.configure(yscrollcommand=vbar.set)
> text.after(100, insert)
>
> text.mainloop()
>
> (or change Tkinter by tkinter to work on python 3.x)
> Text.see already does what you want, can you argue why adding an
> option
> for that would be good ?
>
> ----------
> nosy: +gpolo
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue5163>
> _______________________________________ |
|
Date |
User |
Action |
Args |
2009-02-21 05:45:27 | ringhome | set | recipients:
+ ringhome, gpolo |
2009-02-21 05:45:25 | ringhome | link | issue5163 messages |
2009-02-21 05:45:24 | ringhome | create | |
|