Thread Previous • Date Previous • Date Next • Thread Next |
On 28/10/17 01:00, Wayne Stambaugh wrote:
Internal to Aui, there is no such thing as a perspective. It's just just the name used to load and save all the pane (and dock) info.If the pane is mandatory (no view toggle) you probably need to hard-code unhiding it after LoadPerspective to be nice to users upgrading with config files in place.You will most likely have to force the change in the perspective to ensure that you can unhide panes. I would be careful about what aui behavior you enable. If I recall, detachable panes was also broken but that make have been fixed. Have you tried testing with wx 3.1? Maybe the wx project fixed some of these issues.
It's been a long time but my recollection is that Aui worked fine once I read the [aui] code and got an understanding of how it was designed to be used. The written documentation was sparse and kicad authors had misinterpreted some of how Aui is supposed to work. EDA_PANEINFO (kicad/include/wxstruct.h) captured much of what I learned. My goal at the time was detachable panes, which worked without problem once the panes were configured properly. My patch left out the final setting for detachable panes because everyone was gunshy about aui at the time and it was too big a step.
Thread Previous • Date Previous • Date Next • Thread Next |