Modifies style values on the widget.
- The Gtk.RcStyle holding the style modifications.
Modifications made using this technique take precedence over style values set via an RC file, however, they will be overriden if a style is explicitely set on the widget using Widget.StyleSet. The Gtk.RcStyle structure is designed so each field can either be set or unset, so it is possible, using this method, to modify some style values and leave the others unchanged.
Note that modifications made with this method are not cumulative with previous calls to Widget.ModifyStyle or with such methods as Widget.ModifyBg. If you wish to retain previous values, you must first call Widget.ModifierStyle, make your modifications to the returned style, then call Widget.ModifyStyle with that style. On the other hand, if you first call Widget.ModifyStyle, subsequent calls to such methods Widget.ModifyFg will have a cumulative effect with the initial modifications.