gtkRcAddWidgetNameStyle {RGtk2} | R Documentation

## gtkRcAddWidgetNameStyle

### Description

Adds a `GtkRcStyle` that will be looked up by a match against the widget's pathname. This is equivalent to a: `widget PATTERN style STYLE` statement in a RC file. WARNING: `gtk_rc_add_widget_name_style` is deprecated and should not be used in newly-written code. Use `gtkRcParseString` with a suitable string instead.

### Usage

    gtkRcAddWidgetNameStyle(object, pattern)

### Arguments

``object`` | the `GtkRcStyle` to use for widgets matching `pattern`
``pattern`` | the pattern

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]