gtk2.x provides theme switch , 3.x with CSS instead of theme.
my gtk installation directory is E:\program\gtk2.24
Theme Some of the files involved:
E:\PROGRAM\GTK2.24\ETC\GTK-2.0\GTKRC, this file is used to specify which theme to use, and the content is one line:
Gtk-theme-name = "Ms-windows"
"Ms-windows" is the subject name
E:\program\gtk2.24\share\themes, each subdirectory under this directory is a theme, and the subject name is the directory name
E:\program\gtk2.24\lib\gtk-2.0\2.10.0\engines, the DLL in this directory is used for theme engine, each theme may be different
can be used E:\program\gtk2.24\bin\gtk-demo.exe test subject is in effect
When you publish the program, according to the GTK directory structure of the above-mentioned documents in the examination came, the green version .
Reference URL:
Http://gtk-win.sourceforge.net/home/index.php/Main/Downloads ( My subject is from here )
http://orford.org/gtk/
http://blog.csdn.net/chszs/article/details/4006814
This article from "Some" blog, declined reprint!
gtk2.x Theme Theme Toggle