[issue5030] Typo in class tkinter.filedialog.Directory prevents compilation
New submission from David Schultz : class tkinter.filedialog.Directory incorrectly derives from Dialog instead of _Dialog. Adding the "_" allows the code to compile and run as expected. This also explains why tkinter.filedialog.askdirectory() doesn't work. -- components: Tkinter messages: 80355 nosy: ringhome severity: normal status: open title: Typo in class tkinter.filedialog.Directory prevents compilation type: compile error versions: Python 3.0 ___ Python tracker <http://bugs.python.org/issue5030> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5163] tkinter.scrolledtext: new text is hidden after using insert()
New submission from David Schultz : I've added a "keep at bottom" option to the scrolledtext class. This way, if a user wants to always see the text added via "insert()", it will be visible. -- components: Tkinter messages: 81248 nosy: ringhome severity: normal status: open title: tkinter.scrolledtext: new text is hidden after using insert() type: behavior versions: Python 3.0 ___ Python tracker <http://bugs.python.org/issue5163> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5163] tkinter.scrolledtext: new text is hidden after using insert()
David Schultz added the comment: 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 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 > <http://bugs.python.org/issue5163> > ___ ___ Python tracker <http://bugs.python.org/issue5163> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com