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...

Parameters

props gtk.style_properties.StyleProperties

#GtkStyleProperties to use when resolving named colors

resolvedGradient cairo.pattern.Pattern

return location for the resolved pattern

Return Value

Type: bool

true if the gradient has been resolved

Detailed Description

Deprecated: #GtkGradient is deprecated.