Method

PurpleContactInfoset_color

unstable since: 3.0

Declaration [src]

void
purple_contact_info_set_color (
  PurpleContactInfo* info,
  const char* color
)

Description [src]

Sets the color to use when rendering info to color.

color should start with a # and have a valid number of hex digits following it. Different user interfaces may be able to handle additional precision, but using RRGGBB will have the highest compatibility.

Available since: 3.0

Parameters

color

Type: const char*

The RGB hex code to set.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.