Declaration [src]

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


red guint16

the red value (ranging from 0 to 65535)

green guint16

the green value

blue guint16

the blue value

Return value

Returns: 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