You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will turn self.winMain accesses into self, and allow children to be accessed as 'self.childWin' instead of self.childWin.childWin. The builder needs to be involved in __new__, so it may be a little tricky to instantiate the main window in __new__, and then instantiate all children in __init__ (especially with the current code generation, and regular vs. dynamic init).
This will turn
self.winMain
accesses intoself
, and allow children to be accessed as 'self.childWin' instead ofself.childWin.childWin
. The builder needs to be involved in__new__
, so it may be a little tricky to instantiate the main window in__new__
, and then instantiate all children in__init__
(especially with the current code generation, and regular vs. dynamic init).The idea came from this article.
More information is needed.
The text was updated successfully, but these errors were encountered: