RCfile colors



Hi,
I had a problem modifying some widget colors using gtk_widget_modify_xx
in gtk2.0 with themes such as RH9.0 Bluecurve which uses pixmaps for
some widgets. This was solved the old gtk1.2 way by creating a new
style and using gtk_widget_set_style within the program (thanks Owen).
I would prefer to use an rc file to make the changes but although this
works fine with most themes it exhibits the original problem and some
themes overwrite my changes. Can this overwriting be prevented when using
an rc file to modify just a few named widgets? I'm using
gtk_widget_set_name and calling gtk_rc_parse just before gtk_init.
Nick Soffe.











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