Style.lookupColor
bool lookupColor(string colorName, out gdk.color.Color color)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.
Parameters
colorName | the name of the logical color to look up |
color | the #GdkColor to fill in |
Returns
true if the mapping was found.
Deprecated
Use [gtk.style_context.StyleContext.lookupColor] instead