Function

GtkSymbolicColornew_shade

deprecated: 3.8 since: 3.0

Declaration [src]

GtkSymbolicColor*
gtk_symbolic_color_new_shade (
  GtkSymbolicColor* color,
  gdouble factor
)

Description [src]

Creates a symbolic color defined as a shade of another color. A factor > 1.0 would resolve to a brighter color, while < 1.0 would resolve to a darker color.

Available since: 3.0

Deprecated since: 3.8

GtkSymbolicColor is deprecated.

Parameters

color

Type: GtkSymbolicColor

Another GtkSymbolicColor.

The data is owned by the caller of the function.
factor

Type: gdouble

Shading factor to apply to color.

Return value

Type: GtkSymbolicColor

A newly created GtkSymbolicColor.

The caller of the function takes ownership of the data, and is responsible for freeing it.