[issue10232] Tkinter issues with Scrollbar and custom widget list

Hirokazu Yamamoto report at bugs.python.org
Fri Nov 5 18:52:35 CET 2010


Hirokazu Yamamoto <ocean-city at 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 self.frms[start:self.maxdisp+start]:
            xx.grid(in_=self,row=yy,column=0)
            yy += 1
        for xx in self.frms[self.active:self.maxdisp+self.active]:
            if xx in self.frms[start:self.maxdisp+start]:
                continue
            xx.grid_forget()

----------
nosy: +ocean-city

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10232>
_______________________________________


More information about the Python-bugs-list mailing list