User forums > Using Code::Blocks

Code::Blocks colors

<< < (3/6) > >>

oBFusCATed:

--- Quote from: mimi89999 on April 07, 2020, 11:35:58 pm ---3. Now GTK4 is in development. This API could be proposed as it might be useful to other apps and IDEs.

--- End quote ---
You can try. :)

mimi89999:
What's actually missing in GTK3? It has a notebook with tabs. It's used by many apps. Notably Epiphany, Gedit, Terminal and Gajim.

oBFusCATed:
APIs to make this work: https://github.com/obfuscated/codeblocks_sf/blob/master/src/src/notebookstyles.cpp#L485
If you find one let me know and I'll spend some time implementing this for gtk3.

mimi89999:
I'm not sure which part you are referring to exactly, but if it's tab styling, that's possible in GTK3 with CSS. Please see these resources:
https://developer.gnome.org/gtk3/stable/theming.html
https://thegnomejournal.wordpress.com/2011/03/15/styling-gtk-with-css/
https://developer.gnome.org/gtk3/stable/gtk-migrating-GtkStyleContext-checklist.html
https://www.preining.info/blog/2020/03/de-uglify-gtk3-tabs-of-terminals/

I was able to style tabs as you can see on the screenshot.

oBFusCATed:
The task is to use the tab styling of the gtk 3 theme, not draw random stuff on tabs.
If you want to see how it works - build yourself a wx with gtk2 and test different themes with the aui demo.
If we want to draws something we won't use css for sure :) We don't need it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version