Issue 3248: ScrolledText can't be placed in a PanedWindow (original) (raw)

Created on 2008-07-01 00:46 by gpolo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
scrolledtext_masterstr.diff gpolo,2008-07-01 00:46
ScrolledText.diff gpolo,2008-11-18 04:16
Messages (9)
msg69037 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-07-01 00:46
Right now ScrolledText can't be added to a Tkinter.PanedWindow, also can't be added to a ttk.Notebook (which is not part of the stdlib), because it is a lacking a proper __str__ method. Run the following sample code to check how it fails: import Tkinter import ScrolledText paned = Tkinter.PanedWindow() stext = ScrolledText.ScrolledText(paned) paned.add(stext)
msg75996 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-11-18 03:34
anyone ?
msg75997 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-11-18 04:16
I've changed it a bit more now, this includes dropping support for cnf. My wish is to actually remove the cnf usage all over Tkinter :)
msg77505 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-12-10 08:44
What problem is solved by ScrolledText.diff that isn't already solved by scrolledtext_masterstr.diff?
msg77664 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-12-12 11:44
On Wed, Dec 10, 2008 at 6:44 AM, Martin v. Löwis <report@bugs.python.org> wrote: > > Martin v. Löwis <martin@v.loewis.de> added the comment: > > What problem is solved by ScrolledText.diff that isn't already solved by > scrolledtext_masterstr.diff? None. The later is a cleanup of ScrolledText.py.
msg77736 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-12-13 14:48
Committed for 2.5 as r67735. It still needs to be applied to the other branches.
msg78459 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-12-29 16:02
Notice that the example function doesn't actually work; it gives _tkinter.TclError: wrong # args: should be ".148002724.148002500 insert index chars ?tagList chars tagList ...?"
msg78460 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-12-29 16:09
Thanks again for the patch. Merged into recent branches as r68006, r68007, r68008, and r68009
msg78461 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-12-29 16:15
On Mon, Dec 29, 2008 at 2:02 PM, Martin v. Löwis <report@bugs.python.org> wrote: > > Martin v. Löwis <martin@v.loewis.de> added the comment: > > Notice that the example function doesn't actually work; it gives > > _tkinter.TclError: wrong # args: should be ".148002724.148002500 insert > index chars ?tagList chars tagList ...?" The example function included didn't work for you ? I guess I misunderstood your message otherwise you wouldn't have commited it.
History
Date User Action Args
2022-04-11 14:56:36 admin set nosy: + barry, benjamin.petersongithub: 47498
2008-12-29 16:15:03 gpolo set messages: +
2008-12-29 16:13:01 loewis set status: open -> closedresolution: accepted
2008-12-29 16:09:44 loewis set messages: +
2008-12-29 16:02:34 loewis set messages: +
2008-12-20 14:36:45 loewis set versions: - Python 2.5.3
2008-12-20 02:41:31 loewis set priority: deferred blocker -> release blocker
2008-12-13 14:48:44 loewis set priority: release blocker -> deferred blockermessages: +
2008-12-12 11:44:55 gpolo set messages: +
2008-12-10 08:44:59 loewis set priority: release blockernosy: + loewismessages: +
2008-11-18 04:16:03 gpolo set files: + ScrolledText.diffmessages: +
2008-11-18 03:34:02 gpolo set messages: + versions: + Python 3.0, Python 2.7, Python 2.5.3
2008-07-01 00:46:13 gpolo create