Method
GtkSymbolicColorresolve
deprecated: 3.8 since: 3.0
Declaration [src]
gboolean
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.
Parameters
props
-
Type:
GtkStyleProperties
GtkStyleProperties
to use when resolving named colors, orNULL
.The argument can be NULL
.The data is owned by the caller of the method. resolved_color
-
Type:
GdkRGBA
Return location for the resolved color.
The argument will be set by the function. The returned data is owned by the instance.