GtkStyle
from styles defined in a RC file by providing
the raw components used in matching. This function may be useful
when creating pseudo-widgets that should be themed like widgets but
don't actually have corresponding GTK+ widgets. An example of this
would be items inside a GNOME canvas widget.gtkRcGetStyleByPaths(settings, widget.path, class.path, type)
settings
GtkSettings
objectwidget.path
NULL
if no matching against the widget path should be done. [ allow-none ]class.path
NULL
if no matching against the class path should be done. [ allow-none ]type
G_TYPE_NONE
GtkStyle
] A style created by matching with the supplied paths,
or NULL
if nothing matching was specified and the default style should
be used.gtkRcGetStyle
is similar to:
path <- widget$path()$path class_path <- widget$classPath()$path gtkRcGetStyleByPaths(widget$getSettings(), path, class_path, class(widget)[1])