Gradient.resolve

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

More...
class Gradient
bool
resolve

Parameters

props StyleProperties

#GtkStyleProperties to use when resolving named colors

resolvedGradient Pattern

return location for the resolved pattern

Return: %TRUE if the gradient has been resolved

Detailed Description

Deprecated: #GtkGradient is deprecated.

Meta