Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Gtk Notebook
oBFusCATed:
Hello,
I've playing with an art class for the notebook using the native gtk2.0 controls.
Here you can see a screenshot with the result:
http://smrt.is-a-geek.org/codeblocks/screens/gtk_notebook.png
And here is the patch:
http://smrt.is-a-geek.org/codeblocks/patches/gtk_notebook.patch
Please test and report problems.
If there is a gtk-2.0 guru around, a code review will be greatly appreciated.
p.s. I wasn't able to find why the logger notebook is not using the correct style/art
p.p.s. someday in the future I plan to the same for the toolbars
p.p.p.s. If you've found a problem, please name the theme you're using
MortenMacFly:
--- Quote from: oBFusCATed on April 18, 2010, 04:07:52 pm ---http://smrt.is-a-geek.org/codeblocks/patches/gtk_notebook.patch
[...]
p.p.p.s. If you've found a problem, please name the theme you're using
--- End quote ---
Well, it breaks compilation on Windows. ;-)
You'd better wrap everything into an "#if defined(__WXGTK__)", including the header file (which cannot be found in the windows project anyways due to the missing include path).
oBFusCATed:
Uf, I forgot that... will fix....
foobar123:
I like this patch! It looks good, blends in well with the rest of my desktop, and it uses the default colors for text and background, which makes it work with dark color themes, too. Would be nice to have this in default Code::Blocks some day, either replacing the default tab style, or (maybe even be better) as an additional selectable style.
Maybe a configure option could be created, so people who don't want the GTK depencendy can disable it.
Jenna:
I had some (more or less) minor layout issues with the them I use (Raleigh), but I'm forced to use windows at the moment (try to set up the control for a Natural adventure pool, and as usual it takes time until everything runs fine), so I can not look into it before the weekend.
Navigation
[0] Message Index
[#] Next page
Go to full version