Re: GTK+ Styling
- From: jcupitt gmail com
- To: the pro <thepro4ever gmail com>
- Cc: gtk-list gnome org
- Subject: Re: GTK+ Styling
- Date: Thu, 16 Feb 2012 10:11:20 +0000
On 16 February 2012 06:23, the pro <thepro4ever gmail com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]