Method

PurpleMessageset_author_name_color

unstable since: 3.0

Declaration [src]

void
purple_message_set_author_name_color (
  PurpleMessage* message,
  const char* color
)

Description [src]

Sets the author’s name color of message to color. This is the color that will be used to display the author’s name in a user interface. The user interface might not use this exact color, as it might need to adapt for contrast or limits on the number of colors.

Available since: 3.0

Parameters

color

Type: const char*

The hex color code for the author of message.

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