New tab control

Discussion about CodeLite development process and patches
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by eranif »

This is something that I am definitely thinking about (due to some un-resolved issues on Mac)

Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: New tab control

Post by jfouche »

eranif wrote:This is something that I am definitely thinking about (due to some un-resolved issues on Mac)
Moreover, IMHO, it's more beautifull than wxNotebook
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by eranif »

Trunk now contains code for wxAuiNotebook with custom theme I made for codelite (which respects the OS colours and uses some custom buttons)

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by eranif »

I have completed the transition to the new notebook control.

This is how it currently looks (using custom CL Tab art):
codelite-aui.png
Eran
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread
User avatar
kspes
CodeLite Enthusiast
Posts: 41
Joined: Sat Jan 30, 2010 2:18 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by kspes »

Can this tab system show tabs on the right side instead of the top? (I configured it on the right side in codelite 2.3 to gain more vertical screen space)
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by eranif »

No.
wxAuiNotebook does not support right or left side tabs. (the defines are there (wxAUI_NB_RIGHT, wxAUI_NB_LEFT), but they are not implemented )

Eran
Make sure you have read the HOW TO POST thread
bakat
CodeLite Curious
Posts: 1
Joined: Sat Apr 03, 2010 4:10 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by bakat »

So this means there will be no detached tabs in future? Not even sure if I even miss them or not, because having multiple editor-windows-with-tabs that'll dock like the current one does is so big improvement for users with multiple displays. :mrgreen:


btw. there's bug when clicking(closing) editor-tabs with middle mouse button, quite annoying when it does close files from totally different editor-tab-group.
ian89
CodeLite Curious
Posts: 1
Joined: Fri Jan 13, 2012 1:00 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: New tab control

Post by ian89 »

This MDI feature is exactly what I was looking for.
I can't seem to find out how enable it.
The r-click detach menu item is available on all windows *except* the source file windows so I am stuck with SDI.

Am I missing something obvious?

I'm running codelite v3.0.5041, linux 2.6, intel x86_64

Thanks
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by eranif »

The linux binary of codelite is compiled differently, to enable it you need to build codelite from sources after changing the the macro that disabled it for Linux, read this:

viewtopic.php?f=11&t=1472#p6696

Eran
Make sure you have read the HOW TO POST thread
Post Reply