[Gtk-sharp-list] Themes in Gtk# (Win platform)

Ivan Dubrov WFrag@yandex.ru
Wed, 07 Jan 2004 10:22:28 +0600


Mike Kestner wrote:

>On Mon, 2004-01-05 at 22:43, Ivan Dubrov wrote:
>  
>
>>I just wonder, can I use GTK themes in my .NET application (pixmap 
>>engine)? And how?
>>    
>>
>
>Not sure I understand the question.  
>
>If you are asking how to create custom widgets that conform to the
>current theme, the Gtk.Style class is probably what you want.
>
>  
>
While searching for the documentation about the GTK, I found site with 
themes for it, http://art.gnome.org/themes/gtk2/. After a unsuccessful 
tries to find something about installing these themes (I'm a newbie in 
GTK), I found theme consist of several parts - engine and some 
configuration/resource files. What I wanted to do, is to make any of 
this themes work.

After a bit of googling, I've found sources of pixbuf engine here: 
http://ftp.acc.umu.se/pub/GNOME/sources/gtk-engines/2.2/ (As I 
understand, it's the equivivalent of pixmap engine, anyway it works). 
Finally, I've manually built it and placed in GTK modules dir (for some 
reasons cygwin's configure/make produces .dll which doesn't work and 
special win32 makefiles are outdated). And it works (I've tested it a 
bit on "Glossy P" theme from the link above)!

So themes under Windows is no question anymore. :)

----
 Ivan Dubrov <wfrag@yandex.ru>