Author Topic: How to improve tabs in C::B  (Read 4864 times)

starship

  • Guest
How to improve tabs in C::B
« on: March 30, 2009, 11:00:28 am »
Hi,

I'm new to C::B but already addicted to it. I used to work with Visual C++ 2005 so it's a big step for me.
But as I'm discovering all the possibilities given by C::B, I'm wondering if there is an easy way to improve tabs. In fact, i'm a big fan of the way, tabs are used in Eclipse IDE. Like when you double click on one tab, the window takes all the screen.
Do you think, this kind of feature can be easily add to C::B ? If it is, I can spend some time on it.

Sorry if you don't understand very well my english (french guy inside :/)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: How to improve tabs in C::B
« Reply #1 on: March 30, 2009, 11:25:04 am »
It can be implemented, even if it is not so easy to implement, because it also effects the saving of the perspectives.

I have a working patch for this, even if I do not use this feature.

But we will use wxAuiNotebook instead of wxFlatNotebook  in the near (?) future.

I had to patch the flatnotebook sources to get the double-click event, but the sources are part of C::B.

wxAuiNotebook also does not provide an event, if the tab gets double-clicked,  and we can not ship a patched version of wxWidgets with our sources.
That's why the patch never made it into trunk.

If we have updated the sources, I will have a look if it is possible to find an easy way to implement this feature, but I'm not sure whether it can be done with a reasonable effort.

Offline Alatar

  • Multiple posting newcomer
  • *
  • Posts: 61
Re: How to improve tabs in C::B
« Reply #2 on: June 05, 2009, 09:50:31 pm »
But we will use wxAuiNotebook instead of wxFlatNotebook  in the near (?) future.

Is work under this thing is running? Can I get sources for see progress and, may be, help you to implement this?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9706
Re: How to improve tabs in C::B
« Reply #3 on: June 06, 2009, 07:26:37 am »
Is work under this thing is running? Can I get sources for see progress and, may be, help you to implement this?
It's in an own branch you can test freely. Checkout the wxfnb_to_wxaui branch and try yourself. It's usually pretty much in synch with trunk.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ