Dynamic style modification for all widgets?
- From: Pablo Mejia <pjm cctechnol com>
- To: gtk-app-devel-list gnome org
- Subject: Dynamic style modification for all widgets?
- Date: 27 Apr 2004 17:58:01 -0500
I am working on an embedded application (only thing running). I am
using a gtkrc file to set up some styles for the interface. At run
time I would like to modify the colors in each styles and have the
changes be reflected in the styles.
What I don't want to do is make a call on *each* widget in my
application. Other than that, I am open to any suggestions. I've
looked at the gtk documentation for styles, rc files and settings but
it is not clear to me what I should do.
I tried to use gtk_settings_set_string_property on gtk-theme-name to
load a new rc file. I also tried using gtk_rc_parse without any luck.
I'm using gtk-2.2.3 and my interface is all loaded using libglade.
I would appreciate any pointers. Thanks, Pablo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]