The Murrine engine hard-codes some behavior that I need to duplicate in my own code, so I need to find out whether the Murrine engine is being used, or some other one. How can I do that? Which config files stor开发者_如何学JAVAe this information, and is there an API that I can call?
http://developer.gnome.org/gtk3/stable/GtkSettings.html can help you parse some Gtk+ settings. At least reading the theme name is fairly simple:
GtkSettings *settings;
gchar *theme_name;
settings = gtk_settings_get_default();
g_object_get(settings, "gtk-theme-name", &theme_name, NULL);
精彩评论