On 16 February 2012 06:23, the pro <[email protected]> wrote:
> linux but horrible on windows. I see references to the
> possiblity of themeing all over google for gtk but I couldn't find any
> examples that involved finding a theme and loading it with C.
When you package your gtk app for Windows you need to lay out a
directory structure something like this:
myapp-1.0
bin
myapp.exe
... loads of gtk/glib/etc. DLLs
etc
gtk-2.0
gtkrc
share
themes erm actually I forget this bit
The gtkrc file needs to contain something like:
gtk-theme-name = "Clearlooks"
And you need to put the clearlooks (or whatever theme you select)
theme into share and (I think) lib.
I have a project here:
https://github.com/jcupitt/build-win32
that does this. You give it a .tar.gz source tarball for your project
and it builds you a myapp-1.0-setup.exe installer automatically. I use
it on linux with a cross-compiler.
John
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list