How to have aui.AuiMDIParentFrame with sidebar ?

How can I subclass the aui.AuiMDIParentFrame so that I can add a sidebar ?

I want to have all the MDI handling of AuiMDIParentFrame, but with additional columns, ideally with a splitter, as in this badly manipulated image

preff.png

You can use the AUI Docking Library:
2019-03-21_18h55_43.png

Screenshot from the wx-python demo application.

I am using just that, thank you.

The splitter between the tree view and the notebook does not do SP_LIVE_UPDATE , do you know how to make that possible ?

···

On Thursday, March 21, 2019 at 6:57:28 PM UTC+1, Andreas Eigendorf wrote:

You can use the AUI Docking Library:
2019-03-21_18h55_43.png

Screenshot from the wx-python demo application.

Hello,

This is also shown in the demo app, how to enable live resize:

2019-03-22_11h25_14.png

Best

Eigi

Hello,

More details here:

(official wx-Python documentation)

https://wxpython.org/Phoenix/docs/html/wx.aui.AuiManagerOption.enumeration.html#wx-aui-auimanageroption

The AuiManagerOption enumeration provides the following values:

Description
Value
wx.aui.AUI_MGR_ALLOW_FLOATING
Allow a pane to be undocked to take the form of a wx.MiniFrame.
wx.aui.AUI_MGR_ALLOW_ACTIVE_PANE
Change the color of the title bar of the pane when it is activated.
wx.aui.AUI_MGR_TRANSPARENT_DRAG
Make the pane transparent during its movement.
wx.aui.AUI_MGR_TRANSPARENT_HINT
The possible location for docking is indicated by a translucent area.
wx.aui.AUI_MGR_VENETIAN_BLINDS_HINT
The possible location for docking is indicated by a gradually appearing partially transparent area.
wx.aui.AUI_MGR_RECTANGLE_HINT
The possible location for docking is indicated by a rectangular outline.
wx.aui.AUI_MGR_HINT_FADE
The translucent area where the pane could be docked appears gradually.
wx.aui.AUI_MGR_NO_VENETIAN_BLINDS_FADE
Used in complement of wx.aui.AUI_MGR_VENETIAN_BLINDS_HINT to show the hint immediately.
**wx.aui.AUI_MGR_LIVE_RESIZE**
When a docked pane is resized, its content is refreshed in live (instead of moving the border alone and refreshing the content at the end).
wx.aui.AUI_MGR_DEFAULT
Default behavior.

Simple sample app attached
Built with wxFormBuilder 3.9.0 on win 7

Tested with

Python '3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)]

wxPython: ‘4.0.4 msw (phoenix) wxWidgets 3.0.5’

PanelTest.zip (2.74 KB)

Found it, thank you, awesome!

···

On Friday, March 22, 2019 at 11:29:55 AM UTC+1, Andreas Eigendorf wrote:

Hello,

This is also shown in the demo app, how to enable live resize:

2019-03-22_11h25_14.png

Best

Eigi