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

gtk.StyleProperties to use when resolving named colors

resolvedGradient Pattern

return location for the resolved pattern

Return Value

Type: bool

TRUE if the gradient has been resolved

Detailed Description

Deprecated: gtk.Gradient is deprecated.

Meta