wx.aui.AuiManager layout

I would like to create a simple three pane layout where all three panes can float away from the frame. I am having difficulty understanding the AuiManager parameters: pos, layer, row, etc… I have attached a sample script with my desired layout. I just can’t get the bottom right pane to undock. Does anyone know how this can be accomplished?

Jason

spliter_window_3_panes.py (1.85 KB)

I would like to create a simple three pane layout where all three panes can float away from the frame. I am having difficulty understanding the AuiManager parameters: pos, layer, row, etc… I have attached a sample script with my desired layout. I just can’t get the bottom right pane to undock. Does anyone know how this can be accomplished?

Jason

aui.AUI_MGR_ALLOW_FLOATING is what you are looking for.
But your problem is that it you have it as a center pane. center panes are not normally supposed to be undockable.
Try changing Center() to Bottom()

Here are most of the agw flags. I see you are using regular aui in your code.

···

On Friday, February 28, 2014 3:17:13 PM UTC-6, Jason Terhune wrote:

class MainAuiManager(aui.AuiManager):

def __init__(self, managed_window=None, agwFlags=
             aui.AUI_MGR_ALLOW_FLOATING
             # | aui.AUI_MGR_ALLOW_ACTIVE_PANE
             # | aui.AUI_MGR_TRANSPARENT_DRAG
             > aui.AUI_MGR_TRANSPARENT_HINT
             > aui.AUI_MGR_VENETIAN_BLINDS_HINT
             # | aui.AUI_MGR_RECTANGLE_HINT
             > aui.AUI_MGR_HINT_FADE
             # | aui.AUI_MGR_NO_VENETIAN_BLINDS_FADE
             # | aui.AUI_MGR_LIVE_RESIZE
             > aui.AUI_MGR_ANIMATE_FRAMES
             > aui.AUI_MGR_PREVIEW_MINIMIZED_PANES
             # | aui.AUI_MGR_AERO_DOCKING_GUIDES
             > aui.AUI_MGR_WHIDBEY_DOCKING_GUIDES
             > aui.AUI_MGR_SMOOTH_DOCKING
             > aui.AUI_MGR_USE_NATIVE_MINIFRAMES
             # | aui.AUI_MGR_AUTONB_NO_CAPTION
             > 0):
    aui.AuiManager.__init__(self, managed_window, agwFlags)