Is there a way to create a Notebook-like display for which Panels can be detached and re-attached by the user? Something like most web browsers have?
It looks like maybe wx.aui could do this – it has some detachable windows, but the demo I see for the Notebook does not seem to support this. Or, perhaps I’m just missing it. I have not looked into the aui code in any detail.
Any suggestions for how this might be done?
Thanks,
Hi Matthew,
The pure-Python version of AUI (under wx.lib.agw.aui) has the ability to create detachable tabs from a AuiNotebook. I do not know if the standard wx.aui supports this.
The feature is definitely not perfect, but you can give it a try by using the style AUI_NB_TAB_FLOAT, possibly combined with the style AUI_NB_TAB_MOVE. I’m not at my computer and I don’t remember everything at the moment.its possible that the wxPython demo for wx.lib.agw.aui allows you to set that style from the menus, but I do not remember.
Thanks very much, I will give it a try!