Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I think issue4 happens because all frames are grid-forgotten
in redisp(), sometimes widget becomes empty. I think we can
close this issue as invalid.
P.S. Try this change in redisp()
yy = 0
for xx in
Robert Lerche r...@msbit.com added the comment:
Thank you, Hirokazu! I see now -- deleting the rows first causes the scroll
bar to shrink. So I take it calling grid with a row/column that is already in
the grid replaces the prior mapped widget.
[or should I say, domo arigato Yamamoto-san?]
Terry J. Reedy tjre...@udel.edu added the comment:
Robert, I interpret your response to Hirokazu to mean that his suggestion
works. Hence I am following his suggestion. Reopen is I erred.
--
resolution: - works for me
status: open - closed
___
Robert Lerche r...@msbit.com added the comment:
Terry, I tried posting to python-list and all I got was why are you doing
that? Use Tix instead.
Maybe it's good advice but it doesn't address the issue. And Tix is yet one
more component I'd have to build (the Python distribution comes with
Terry J. Reedy tjre...@udel.edu added the comment:
For me, with a standard Python install, 'use tix' would be a good answer. After
thanking the respondent, you could try answering 'why' ('I am using a custom
build.'). Just remember that python-list and mirrors are like the Wild West:
you may
New submission from Robert Lerche r...@msbit.com:
I have run across several issues (one serious one, showing up only on Windows)
when implementing a scroll bar with a list of custom widgets.
I suspect these may really be Tk issues but I thought I'd try posting here
first. I sent this to the
Terry J. Reedy tjre...@udel.edu added the comment:
I have not tried your testcase yet, but agree that issue 4 sounds pretty bad. I
guess what you are looking for is either a patch to tkinter that solves at
least one of the listed problems (even if only a workaround for a TK bug) or a
Robert Lerche r...@msbit.com added the comment:
Hi and thanks for the quick response.
I'm happy to follow up with the Tk folks if it turns out that's where
the problem lies -- it has been a long time since I wrote a Tcl script
so before trying to reproduce the behavior that way I thought I'd
Terry J. Reedy tjre...@udel.edu added the comment:
I ran testcase.py with stock 3.1.2 on winxp (under IDLE).
Changes needed (one place each) were
Tkinter - tkinter
print x - print(x)
- !=# is long since deprecated!
I get 3 line box windowing 10 lines. If I enlarge window, there are