Re: gtk themes


Is there anyway i can
change the theme using code. I know my gtk themes are
in /usr/share/themes. Is there any function which
could implement a theme on runtime.

   Sure there is: 

void gtk_rc_add_default_file (const gchar *filename);

    Just call it before you call gtk_init (), passing it the path/name
of your gtkrc file.


Zeeshan Ali.

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