Learn R Programming

RGtk2 (version 2.20.31)

gtkStyleLookupColor: gtkStyleLookupColor

Description

Looks up color.name in the style's logical color mappings, filling in color and returning TRUE if found, otherwise returning FALSE. Do not cache the found mapping, because it depends on the GtkStyle and might change when a theme switch occurs.

Usage

gtkStyleLookupColor(object, color.name)

Arguments

object
color.name
the name of the logical color to look up

Value

A list containing the following elements:
retval
[logical] TRUE if the mapping was found.
color
the GdkColor to fill in

Details

Since 2.10