Function

GtkSymbolicColornew_alpha

deprecated: 3.8 since: 3.0

Declaration [src]

GtkSymbolicColor*
gtk_symbolic_color_new_alpha (
  GtkSymbolicColor* color,
  gdouble factor
)

Description [src]

Creates a symbolic color by modifying the relative alpha value of color. A factor < 1.0 would resolve to a more transparent color, while > 1.0 would resolve to a more opaque 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

Factor to apply to color alpha.

Return value

Type: GtkSymbolicColor

A newly created GtkSymbolicColor.

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