Re: [Anygui-checkins] CVS: anygui/lib/anygui/backends tkgui.py,1.83,1.84
Magnus Lie Hetland <[email protected]> Sun, 13 Oct 2002 19:54:19 +0200
| Newsgroups | gmane.comp.python.anygui.devel |
|---|---|
| Message-ID | <[email protected]> |
Samuele Pedroni <[email protected]>: > > Update of /cvsroot/anygui/anygui/lib/anygui/backends > In directory usw-pr-cvs1:/tmp/cvs-serv10400 > > Modified Files: > tkgui.py > Log Message: > Fix so that test_shake passes: assured that all setXxx methods of > WindowWrapper call update_idletasks, such that the direct widget > queries in the get methods retrieve consistent up-to-date values. > Added discussion to generic ComponentWrapper about why it does not > need getXxx methods and setXxx can do without update_idletasks. This might be another argument in favour of adding a template method or something to the generic setter/getter code. (The other argument is the "if not self.widget" stuff.) Anyway, great that you fixed this :) -- Magnus Lie Hetland Practical Python The Anygui Project http://hetland.org http://ppython.com http://anygui.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf