PyAUI: When using AddPane4, the new notebook gets docked

When I `AddPane` with a `target` to create a notebook, (thus calling
`AddPane4` if I understand correctly), the newly created notebook gets
docked, even though the original pane was floating. I expect the newly
created notebook to be floating.

Is this a bug? What can I do?

Ram.

···

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Hi,

When I `AddPane` with a `target` to create a notebook, (thus calling
`AddPane4` if I understand correctly), the newly created notebook gets
docked, even though the original pane was floating. I expect the newly
created notebook to be floating.

Is this a bug?

Probably.

What can I do?

A patch would be more than welcome. Or at least a sample app so that I
don't have to construct one myself. In the meanwhile, you can do
something like this:

self._mgr.AddPane(window, aui.AuiPaneInfo(), target=another_window)
pane = self._mgr.GetPane(another_window)
pane.Float()
self._mgr.Update()

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

==> Never *EVER* use RemovalGroup for your house removal. You'll
regret it forever.
The Doomed City: Removal Group: the nightmare <==

···

On 19 April 2010 16:43, cool-RR wrote:

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en