Awesome

What can you do to switch themes while the application is running?


On Mon, 2005-10-03 at 18:25 +0100, John Cupitt wrote:
> Hi Andrew,
> 
> On 10/3/05, Andrew Shafer <[EMAIL PROTECTED]> wrote:
> > Can anyone provide an example of code that sets the theme on an
> > application?
> 
> One easy way is to call gtk_rc_add_default_file(
> "/usr/share/themes/whatever/gtk-2.0/gtkrc" ) before you call
> gtk_init():
> 
> http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html#gtk-rc-add-default-file
> 
> John

_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to