[wxPython-users] AuiPane Initialize as Floating
Cody Precord
codyprecord at gmail.com
Mon Aug 6 15:44:09 PDT 2007
That it does,
I have some other code doing management for different saved
perspectives that must be interfering in some way. At least I know
where the problem is now.
thanks,
cody
On Aug 6, 2007, at 5:04 PM, Robin Dunn wrote:
> Cody Precord wrote:
>> Yes, I do call mgr.Update() directly after adding the PaneInfo
>> with AddPane, and directly after any Show/Hide.
>> I have decided to move a different direction with this as the
>> panel didn't fit the layout very well when docked anyway. It would
>> however be good to determine how to get this to work for future
>> reference.
>> Later this week I will try cross testing on Windows. If it works
>> on windows I will probably file a bug against wxMac.
>
> This change in the demo works fine on wxMac:
>
> diff -r 63dd84492d2c wxPython/demo/AUI_DockingWindowMgr.py
> --- a/wxPython/demo/AUI_DockingWindowMgr.py Mon Aug 06 14:09:43
> 2007 -0700
> +++ b/wxPython/demo/AUI_DockingWindowMgr.py Mon Aug 06 14:59:25
> 2007 -0700
> @@ -249,6 +249,7 @@ class PyAUIFrame(wx.Frame):
>
> self._mgr.AddPane(self.CreateTreeCtrl(), wx.aui.AuiPaneInfo
> ().
> Name("test8").Caption("Tree Pane").
> + Float().
> Left().Layer(1).Position(1).CloseButton(True).MaximizeButton(True))
>
> self._mgr.AddPane(self.CreateSizeReportCtrl(),
> wx.aui.AuiPaneInfo().
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-
> help at lists.wxwidgets.org
>
More information about the wxpython-users
mailing list