Re: GTK themes on windows

Hi ,
   I added the following line in.gtkrc-2.0 include
"D:/GnuWin32/share/themes/Glossy/gtk-2.0/gtkrc", in
C:\Documents and Settings\<Myself>. IN fact, the file
was already existsing. I just removed all the contests
and added this line. After that I get an error message
"The procedure entry point g_return_if_fail_warning
could not be located in dynamic link library
libglib-2.0-0.dll", for any GTK application. Then I
had to remove this line. I get this error if I
"include" any working theme's (like MS-Windows) gtkrc
file. But this work fine when I set theme name instead
of include. But the themes found in art.gnome.prg does
not work.

Deekshit M

--- Carlo Agrusti <carlo-ag libero it> wrote:

Deekshit M ha scritto lo scorso 19/06/2005 20:17:
Hi all,
   I wanted to know how do I add a theme to the
windows application, that I am am developing on
windows. I could see that, when I change the theme
using theme-selector applictaion, the theme for
GTK-demos get changed. But not for my application.

1) How to make these thinsg work for my
application ?
2) How to apply the themes available at
to my application on windows

You need 2 different things:
- the theme
- the theme engine

All theme engines are located (i.e. you have to put
them) into your 
directory; they are 
.dlls (you can compile them by yourself or just find
ready to use).

Themes are located into your
directory; each theme is made off a directory tree
with the upmost 
directory named as the theme itself and containing
all needed resources.

Theme selection mechanism for *all* gtk applications
running on your 
system is fairly simple: just put into your home
directory (something 
like C:\Documents and Settings\your_user_name) a
file containing the 
following line:

include "C:/Programmi/File 


(in this case the theme is "Dark Outworld")
and name it .gtkrc-2.0

Of course, gtk applications that parse their own
theme will not be 
affected by your global theme setting.

gtk-app-devel-list mailing list
gtk-app-devel-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]