Method

GtkGradientadd_color_stop

deprecated: 3.8 since: 3.0

Declaration [src]

void
gtk_gradient_add_color_stop (
  GtkGradient* gradient,
  gdouble offset,
  GtkSymbolicColor* color
)

Description [src]

Adds a stop color to gradient.

Available since: 3.0

Deprecated since: 3.8

GtkGradient is deprecated.

Parameters

offset

Type: gdouble

Offset for the color stop.

color

Type: GtkSymbolicColor

Color to use.

The data is owned by the caller of the method.