Hi List
I use the wxAuiNotebook control with the ability to dynamically split the tabs into separate panes (wxAUI_NB_TAB_SPLIT), and I have found code that can save and load the layout perspective (https://forums.wxwidgets.org/viewtopic.php?t=21868)
The only issue I have at this point is that, while there is an event emitted when a user drags a tab around (wxEVT_AUINOTEBOOK_DRAG_DONE), there is no event when a user drags the splitter between two panes to resize them. This means I don’t have a way to get notified that the size has changed if the user resizes the panes without dragging the tabs to reorder or rearrange them.
The solution would be another event when the drag completes. To do this correctly, it seems that there should be some kind of wxEVT_AUINOTEBOOK_SPLITTER_SASH_POS_CHANGED event, or perhaps it can simply re-use the wxSplitterWindow events?
I’m curious what others think is the best approach. Thanks,
-robin
Robin Scher | Uberware | 213.448.0443 | ro...@uberware.net | www.uberware.net