Method

GtkStylePropertieslookup_color

Declaration [src]

GtkSymbolicColor*
gtk_style_properties_lookup_color (
  GtkStyleProperties* props,
  const gchar* name
)

Description [src]

Returns the symbolic color that is mapped to name.

Available since:3.0
Deprecated since:3.8

GtkSymbolicColor is deprecated.

Parameters

name

Type: const gchar*

Color name to lookup.

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

Return value

Type: GtkSymbolicColor

The mapped color.

The data is owned by the instance.