Style.lookupColor

Warning gtk_style_lookup_color has been deprecated since version 3.0 and should not be used in newly-written code. Use gtk_style_context_lookup_color() instead 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. Since 2.10

class Style
deprecated
int
lookupColor

Parameters

colorName string

the name of the logical color to look up

color Color

the GdkColor to fill in. out

Return Value

Type: int

TRUE if the mapping was found.

Meta