Method

GtkThemingEnginelookup_color

deprecated: 3.14 since: 3.0

Declaration [src]

gboolean
gtk_theming_engine_lookup_color (
  GtkThemingEngine* engine,
  const gchar* color_name,
  GdkRGBA* color
)

Description [src]

Looks up and resolves a color name in the current style‚Äôs color map.

Available since: 3.0

Deprecated since: 3.14

Please do not use it in newly written code.

Parameters

color_name

Type: const gchar*

Color name to lookup.

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

Type: GdkRGBA

Return location for the looked up color.

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

Return value

Type: gboolean

TRUE if color_name was found and resolved, FALSE otherwise.