[Gtk-sharp-list] using/creating/changing themes!

Peacelyk eero.j2ms2 at gmail.com
Fri Oct 22 09:37:22 EDT 2010


i tried to create a resource file, but nothing changed.
i took example code, found here 
http://live.gnome.org/GnomeArt/Tutorials/GtkThemes live.gnome.org  but i
don't know how to apply it.

Tried this:

private void Init_Global_Resource_File() {
   // make Sure the Resource file is Read!
   if (System.IO.File.Exists(Resource_File)) {
     Gtk.Rc.AddDefaultFile(Resource_File);
     Gtk.Rc.Parse(Resource_File);
   } else {
     Console.WriteLine("THE RESOURCE FILE " + _config.Resource_File + " 
COULD NOT BE READ!");
   }
}

but it didn't have any effect. I assume that resource file is ordinary file,
like "myresource.resources" and resides in the same folder as my .exe.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/using-creating-changing-themes-tp3006040p3007225.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list