Code::Blocks

User forums => Using Code::Blocks => Topic started by: jleon on February 09, 2018, 09:54:46 pm

Title: General dark theme (not only for editor)
Post by: jleon on February 09, 2018, 09:54:46 pm
Hello there
I'm a new CodeBlocks user. I followed the instructions given in  https://sangams.com.np/installing-codeblocks-dark-themes/ to change the Code::Blocks theme, but that only works for the editor window. Is it possible to set a theme for the whole environment e.g. menu bar,  Management panel, Logs & others, etc.? Something like KDevelop does:
(https://www.kdevelop.org/sites/www.kdevelop.org/files/photos/kdevelop.png)

Thanks in advance,

jleon
Title: Re: General dark theme (not only for editor)
Post by: BlueHazzard on February 09, 2018, 10:29:43 pm
No it is not possible, because codeblocks uses wxWidgets. wxWidgets uses as many default controls as possible and also the default colors. So if you change the windows theme also the controls in codeblocks will have the same color.

Maybe, if wxWidgets implements theme support, also codeblocks will add it....
Title: Re: General dark theme (not only for editor)
Post by: oBFusCATed on February 09, 2018, 10:50:03 pm
No it is not possible, because codeblocks uses wxWidgets. wxWidgets uses as many default controls as possible and also the default colors.
This is only true for windows/osx. On linux the gtk theme could be changed even per application.
Title: Re: General dark theme (not only for editor)
Post by: jleon on February 09, 2018, 11:09:14 pm
I'm using Linux. So I guess I could with some luck accomplish that. ┐How could I?

jleon
Title: Re: General dark theme (not only for editor)
Post by: jleon on February 09, 2018, 11:25:12 pm
By the way I already changed the Application Color Scheme in Colors-System Settings (openSUSE), and that's why KDevelop changed its theme. But Code::Blocks does not implement that change.

jleon
Title: Re: General dark theme (not only for editor)
Post by: oBFusCATed on February 10, 2018, 02:39:28 am
You've changed the qt theme, now change the gtk+ theme and it will work. There are some gtk themes that use the qt drawing, so you could make it work consistently. But I don't know details. Search the net.
Title: Re: General dark theme (not only for editor)
Post by: jleon on February 12, 2018, 09:59:03 pm
Thanks a lot. After some hours of trying I finally managed to get to the right settings.

Configure desktop->Appearance->Application Style- GNOME Application Style (GTK)
Select GTK2 Theme: Breeze-Dark
Select GTK3 Theme: Breeze-Dark


jleon
Title: Re: General dark theme (not only for editor)
Post by: jleon on February 12, 2018, 10:14:54 pm
The final result was: