gtk.gradient

Module for Gradient class

Members

Classes

Gradient
class Gradient

GtkGradient is a boxed type that represents a gradient. It is the result of parsing a [gradient expression][gtkcssprovider-gradients]. To obtain the gradient represented by a GtkGradient, it has to be resolved with gtk.gradient.Gradient.resolve, which replaces all symbolic color references by the colors they refer to (in a given context) and constructs a #cairo_pattern_t value.