Style.lookupColor

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 gtk.Style and might change when a theme switch occurs.

More...
class Style
bool
lookupColor
(
string colorName
,)

Parameters

colorName string

the name of the logical color to look up

color Color

the gdk.Color to fill in

Return Value

Type: bool

TRUE if the mapping was found.

Detailed Description

Deprecated: Use Style.contextLookupColor instead

Meta

Since

2.10