If I add the following to afterInit of the _dDockForm_test:
self.fp2 = self.addPanel(Floating=False, BackColor="orange",
Caption="Another panel", Size=(144, 100), DockSide="R")
I see this warning:
C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\agw\aui\framemanager.py:4582:
UserWarning: A pane with the name already exists in the manager!
warnings.warn("A pane with the name already exists in the manager!")
Changing the code I added to this:
self.fp2 = self.addPanel(Name="fp2", Floating=False,
BackColor="orange",
Caption="Another panel", Size=(144, 100), DockSide="R")
i.e. adding "Name" the warning goes away.
Why is this warning not issued on the other two addPanel calls? Should
"Name" maybe get a default value other then "None" or maybe just change
this test/sample code to include "Name".
If I want to add e.g. a dDockTabs to dDockForm I have to use addPanel
and then add the dDockTabs to this panel, I can't add dDockTabs
directly, correct?
I tried addObject but it does not take the same params, e.g. DockSide is
not valid.
Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]