Re: wrapper in state?
"Samuele Pedroni" <[email protected]>
| Newsgroups | gmane.comp.python.anygui.devel |
|---|---|
| Message-ID | <007501c2597e$74a7caa0$6d94fea9@newmexico> |
From: Robin Becker <[email protected]> > after the latest changes to wrappers/proxies neither msgui or (my > version) dwgui work. I tried the following > > remove imports of DummyWidget, isdummy > > DummyWidget() --> None > x.isdummy() --> x > if self.noWidget() --> if not self.widget > if not self.noWidget() --> if self.widget > > even so nothing really works. mmh, I have done more or less the same (now checked in) and the tests backend,button,checkbox,defaults,invisible,label,listbox,radiobutton, remove,textarea,textchange,textfield,window and resizing work. Btw: Maybe the logic in destroy should be refactored as internalDestroy (re)using AbstractWrapper.destroy logic. And the self.widget check should be moved at the top or use if refactored the fact that internalDestroy is called by AbstractWrapper.destroy only if self.widget is not None. regards. ------------------------------------------------------- In remembrance www.osdn.com/911/