Method

PurpleAccountget_color

unstable since: 3.0

Declaration [src]

const char*
purple_account_get_color (
  PurpleAccount* account
)

Description [src]

Gets the color that is associated with the account.

This is an RGB hex code in a string format.

Available since: 3.0

Gets propertyPurple.Account:color

Return value

Type: const char*

The RGB hex code.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.