Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkGradient |
Struct : | Gradient |
None |
Method / Constructor | Defined By | |
---|---|---|
Create a new Gtk.Gradient
Create a new Gtk.Gradient
|
||
new Gtk.Gradient.radial
(gdouble x0, gdouble y0, gdouble radius0, gdouble x1, gdouble y1, gdouble radius1)
:
Gtk.Gradient
Create a new Gtk.Gradient
Create a new Gtk.Gradient
|
||
add_color_stop
(gdouble offset, SymbolicColor color)
:
none
Adds a stop color to gradient.
Adds a stop color to gradient.
|
Gtk.Gradient | |
If gradient is resolvable, resolved_gradient will be filled in
with the resolved gradient as a cairo_pattern_t, and TRUE will be returned.
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.
|
Gtk.Gradient |
None |