Hello,

> 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.

Regards,

Zeeshan Ali.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to