On 9/25/13 7:27 AM, Sibylle Koczian wrote: > my application consists of a dPageSelect with several pages, all of them > subclasses > of a common BasePage class which is a subclass of dPage.
Okay. > Every page contains a dPanel with all the controls needed, this dPanel is > created > using the ClassDesigner. Okay. > For a dCheckListBox on one of these panels I've overridden the update() > method like > this: > > def update(self): > dabo.ui.callAfterInterval(200, self.doUpdate) > > The doUpdate method of the checklist contains a print statement for > debugging, and so > I see that it is called when _another_ page of the application is opened. Hmmm. > The checklist is placed on the first page that opens at the start of the > application, > but still I don't understand why its update method is called when the page > isn't > selected. Try setting DeferredUpdates = True for the pages you don't want immediately updated. > > Platform: GTK > Python Version: 2.7.4 on linux2 > Dabo Version: 0.9.13 > UI Version: 2.8.12.1 on wxGTK (gtk2) > > There are several bugs in this application, but I try to solve one riddle > after the > other. That's how you gotta do it. :) Paul _______________________________________________ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/5243346b.3060...@ulmcnett.com