deprecated: 3.0 since: 2.10

Declaration [src]

gtk_style_lookup_color (
  GtkStyle* style,
  const gchar* color_name,
  GdkColor* color

Description [src]

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.

Available since: 2.10

Deprecated since: 3.0

Use gtk_style_context_lookup_color() instead.



Type: const gchar*

The name of the logical color to look up.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Type: GdkColor

The GdkColor to fill in.

The argument will be set by the function.
The returned data is owned by the instance.

Return value

Type: gboolean

TRUE if the mapping was found.