Widget.modifyStyle
void modifyStyle(gtk.rc_style.RcStyle style)Modifies style values on the widget.
Modifications made using this technique take precedence over style values set via an RC file, however, they will be overridden if a style is explicitly set on the widget using [gtk.widget.Widget.setStyle]. The #GtkRcStyle-struct is designed so each field can either be set or unset, so it is possible, using this function, to modify some style values and leave the others unchanged.
Note that modifications made with this function are not cumulative with previous calls to [gtk.widget.Widget.modifyStyle] or with such functions as [gtk.widget.Widget.modifyFg]. If you wish to retain previous values, you must first call [gtk.widget.Widget.getModifierStyle], make your modifications to the returned style, then call [gtk.widget.Widget.modifyStyle] with that style. On the other hand, if you first call [gtk.widget.Widget.modifyStyle], subsequent calls to such functions [gtk.widget.Widget.modifyFg] will have a cumulative effect with the initial modifications.
Parameters
style | the #GtkRcStyle-struct holding the style modifications |