deprecated: 3.8 since: 3.0

Declaration [src]

gtk_symbolic_color_resolve (
  GtkSymbolicColor* color,
  GtkStyleProperties* props,
  GdkRGBA* resolved_color

Description [src]

If color is resolvable, resolved_color will be filled in with the resolved color, and TRUE will be returned. Generally, if color can’t be resolved, it is due to it being defined on top of a named color that doesn’t exist in props.

When props is NULL, resolving of named colors will fail, so if your color is or references such a color, this function will return FALSE.

Available since: 3.0

Deprecated since: 3.8

GtkSymbolicColor is deprecated.



Type: GtkStyleProperties

GtkStyleProperties to use when resolving named colors, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.

Type: GdkRGBA

Return location for the resolved color.

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

Return value

Type: gboolean

TRUE if the color has been resolved.