Gradient.resolve

Warning gtk_gradient_resolve has been deprecated since version 3.8 and should not be used in newly-written code. GtkGradient is deprecated. 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.

class Gradient
int
resolve

Parameters

props StyleProperties

GtkStyleProperties to use when resolving named colors

resolvedGradient Pattern

return location for the resolved pattern. out

Return Value

Type: int

TRUE if the gradient has been resolved Since 3.0

Meta