Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Free the Editors
dmoore:
no (but that would be another way to do it). wxFlatnoteBook still owns each editor, but I'm setting it up to "orphan" children to CB dockables. This seemed the cleanest way of doing things without breaking EditorManager, but this certainly won't be a satisfactory solution to everyone.
raph:
Wow, nice proof of concept :)
wxAuiNotebook seems to support detaching by simple drag and drop (see aui sample), see wxAUI_NB_TAB_SPLIT.
Replacing wxFNB by wxAuiNotebook would be an thing to think about in the future.
dmoore:
got a link to the aui sample? (preferably a binary) -- kirix no longer appear to host it.
I'm probably going to continue with this approach for a little bit, just to get an idea of what can and can't be done. (as brooks says, "plan to throw one away -- you will anyway"). I imagine we'll never please everyone until it's possible to dock a scintilla editor as the third item in the class browser drop down :lol:
EDIT: apparently wxAUI_NB_TAB_SPLIT only lets you split the notebook frame into parts. my approach would compliment this - you can actually detach editors from the notebook entirely and have them float or dock them into the main cb frame.
raph:
--- Quote from: dmoore on June 30, 2007, 02:18:27 pm ---got a link to the aui sample? (preferably a binary) -- kirix no longer appear to host it.
--- End quote ---
Sources are in wxwidgets source dir/samples/aui
--- Quote from: dmoore on June 30, 2007, 02:18:27 pm ---EDIT: apparently wxAUI_NB_TAB_SPLIT only lets you split the notebook frame into parts. my approach would compliment this - you can actually detach editors from the notebook entirely and have them float or dock them into the main cb frame.
--- End quote ---
You are right.
I would like too see your approach for the "Management" and the "Messages" tabs also :D
rickg22:
I'd be much happier if the messages pane had detachable-reattachable windows. This way we could put the stacktrace and other thingies inside it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version