Hi Alex,
I wanted to see what is what and I often use the wxPython WIT for that
and I find it also very useful to track down sizer issues and at the
same time I put in the code to persist the AUI layout.
I am not sure how you want to deal with the SetState issue on the
platebutton - the patch includes the code I use to be able to run it
with wxPython 2.9.4.
I hope you find this useful as is or at least as a start for however you
would like to implement it.
Currently the layout is persisted to the user configuration folder on
closing, this could also be done as a user action (menu/toolbar).
For the persist stuff to work things have to be named, that is why there
are a few "name=" added and why the Workspace pane is added slightly
differently to the aui manager.
Best regards
Werner
|