Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkWidgetModifyStyle

gtkWidgetModifyStyle


Description

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 overriden if a style is explicitely set on the widget using gtkWidgetSetStyle. The GtkRcStyle structure 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.

Usage

gtkWidgetModifyStyle(object, style)

Arguments

object

a GtkWidget

style

the GtkRcStyle holding the style modifications

Details

Note that modifications made with this function are not cumulative with previous calls to gtkWidgetModifyStyle or with such functions as gtkWidgetModifyFg. If you wish to retain previous values, you must first call gtkWidgetGetModifierStyle, make your modifications to the returned style, then call gtkWidgetModifyStyle with that style. On the other hand, if you first call gtkWidgetModifyStyle, subsequent calls to such functions gtkWidgetModifyFg will have a cumulative effect with the initial modifications.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.