Method

GtkStylePropertiesmap_color

deprecated: 3.8 since: 3.0

Declaration [src]

void
gtk_style_properties_map_color (
  GtkStyleProperties* props,
  const gchar* name,
  GtkSymbolicColor* color
)

Description [src]

Maps color so it can be referenced by name. See gtk_style_properties_lookup_color().

Available since: 3.0

Deprecated since: 3.8

GtkSymbolicColor is deprecated.

Parameters

name

Type: const gchar*

Color name.

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

Type: GtkSymbolicColor

GtkSymbolicColor to map name to.

The data is owned by the caller of the method.