gtk3 programming in trisquel 5.0
- Inicie sesión ou rexístrese para enviar comentarios
Hi,
Nowadays I'm doing some gtk+ programming. When I use gtk+-2.0 to compile my program it compiles successfully and runs in system's native theme.
But when I use gtk+-3.0 to compile ,after successful compilation , when I run program it appears in a classic look(Something similar to windows 98).
How can I solve this issue so that it will use system theme.
Are you using any particular IDE or are you compiling with gcc or anything similar ?
I'm not using any IDE.
I type
gcc `pkg-config --cflags --libs gtk+-3.0` -o
on terminal for compiling and building.
Trisquel 5.0 uses the gtk2 theme. You have to use a theme with gtk 3 support (gtk-3.0 folder in .themes/themename or /usr/share/themes/themename) and have the respective gtk3 engine installed (like unico)
Horgeion,
Can you tell me the repository to install unico?
You can use the adwaita theme from Gnome3
mmm it's not in the repository. I have coded in gtk before and had the same problem you have now and IIRC I solved it but can't remember how.
That is one problem with us :)
When ever we have some problem we search it in several places and do several things according to guide lines or some times as we think.
After that problem may be solved. But we may not be able to identify what actually solved the problem.
We need a wiki like the Arch Wiki one.
- Inicie sesión ou rexístrese para enviar comentarios