Function

Pangoattr_underline_color_new

since: 1.8

Declaration [src]

PangoAttribute*
pango_attr_underline_color_new (
  guint16 red,
  guint16 green,
  guint16 blue
)

Description [src]

Create a new underline color attribute.

This attribute modifies the color of underlines. If not set, underlines will use the foreground color.

Available since: 1.8

Parameters

red

Type: guint16

The red value (ranging from 0 to 65535).

green

Type: guint16

The green value.

blue

Type: guint16

The blue value.

Return value

Type: PangoAttribute

The newly allocated PangoAttribute, which should be freed with pango_attribute_destroy().

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