Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Request : C::B View::notebook enhancements
earlgrey:
Hello to all,
Can you, (dear) C::B developpers, implement the possibility :
1) To put editor notebook tabs on the left ? ( wxNB_LEFT ? )
With nowadays wide screens, it is cool to have a vertical list of open files, so you dont have to click on little "<" and ">" arrows.
2) To put only the name of the file ( without any path info ) in notebook tabs ? Im getting huge tabs, and even on 16:9 screen, I only can display a few.
Thank you for reading
Jenna:
1) I will look into it,
2) "Settings -> Editor... -> General settings -> [Other settings ->] Editor title is the file's -> name only (no path information)"
Whether you have the part in the brackets or not depends on your version of C::B.
Jenna:
--- Quote from: jens on December 08, 2010, 07:28:43 am ---1) I will look into it,
--- End quote ---
I'm not sure if it is possible, because we use wxAuiNotebook and at least in 2.8.10 (the version we use), it has only wxAUI_NB_BOTTOM na wxAUI_NB_TOP style flags (that's what the documentation says, I will look into it if I am on my working system).
earlgrey:
"Settings -> Editor... -> General settings -> [Other settings ->] Editor title is the file's -> name only (no path information)"
Oh, apologize for this newbee question...and Thanx
================================================================
There is no wxAUI_NB_LEFT in 2.9.1
http://docs.wxwidgets.org/2.9.1/classwx_aui_notebook.html :
(...)
Styles
This class supports the following styles:
wxAUI_NB_DEFAULT_STYLE:
Defined as wxAUI_NB_TOP | wxAUI_NB_TAB_SPLIT | wxAUI_NB_TAB_MOVE | wxAUI_NB_SCROLL_BUTTONS | wxAUI_NB_CLOSE_ON_ACTIVE_TAB.
wxAUI_NB_TAB_SPLIT:
Allows the tab control to be split by dragging a tab.
wxAUI_NB_TAB_MOVE:
Allows a tab to be moved horizontally by dragging.
wxAUI_NB_TAB_EXTERNAL_MOVE:
Allows a tab to be moved to another tab control.
wxAUI_NB_TAB_FIXED_WIDTH:
With this style, all tabs have the same width.
wxAUI_NB_SCROLL_BUTTONS:
With this style, left and right scroll buttons are displayed.
wxAUI_NB_WINDOWLIST_BUTTON:
With this style, a drop-down list of windows is available.
wxAUI_NB_CLOSE_BUTTON:
With this style, a close button is available on the tab bar.
wxAUI_NB_CLOSE_ON_ACTIVE_TAB:
With this style, the close button is visible on the active tab.
wxAUI_NB_CLOSE_ON_ALL_TABS:
With this style, the close button is visible on all tabs.
wxAUI_NB_TOP:
With this style, tabs are drawn along the top of the notebook.
wxAUI_NB_BOTTOM:
With this style, tabs are drawn along the bottom of the notebook.
(...)
Jenna:
I just looked into the sources (of wxWidgets):
the flags exist in the header-file, but the implemetation is missing in the sources.
So this will not come soon.
Navigation
[0] Message Index
[#] Next page
Go to full version