Re: Theming an application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <shafer@xxxxxxxxxxxx> 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@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux