Switching theme
- From: Paolo Franzetti <paolo lambrate inaf it>
- To: gtk-app-devel-list gnome org
- Subject: Switching theme
- Date: Fri, 15 Dec 2006 09:53:43 +0100
Hi.
In my GTK application I have put in the main() these lines:
gtk_init(&argc, &argv);
gtk_rc_parse("/home/paolo/mygtkthemes/MY_THEME/gtk-2.0/gtkrc");
gtk_main();
In this way the application starts using the 'MY_THEME' theme.
During the execution I would like to be able to switch to
another theme; I guess I should use the gtk_rc_reset_styles()
function, but I did not find anywhere a simple example on how
to use it.
Anyone can help me?
Thank you very much,
Paolo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]