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.
Thanks Deekshit M --- Carlo Agrusti <[EMAIL PROTECTED]> 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 > the > > GTK-demos get changed. But not for my application. > > > So, > > 1) How to make these thinsg work for my > application ? > > 2) How to apply the themes available at > art.gnome.org > > 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 > %COMMONFILES%\GTK\2.0\lib\Gtk-2.0\2.x.0\engines > directory; they are > .dlls (you can compile them by yourself or just find > ready to use). > > Themes are located into your > %COMMONFILES%\GTK\2.0\share\themes > 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 > Comuni/GTK/2.0/share/themes/dark_outworld/gtk-2.0/gtkrc" > > (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. > > Cheers, > Carlo > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list