Hi,
Is there an easy way to redock a floating pane by the close button? I’ve been trying to bind the EVT_AUI_PANE_CLOSE event and then use:
pane = event.GetPane()
event.GetPane().Show()
event.GetPane().Dock()
self._mgr.Update()
This seems to almost work… I get a pane with the same caption as the old one had… my widget panel is gone though, and when I move some other pane the re-docked one disappears. So I’m probably doing it wrong.
I should say I’m using wx.aui and the pane I’m trying to redock is the Centre() pane after clicking the PinButton … for some reason I can’t move and float the centre pane with the mouse like with panes at other positions.
Any ideas?
Thanks,
Soren