Method

PurpleAccountset_color

unstable since: 3.0

Declaration [src]

void
purple_account_set_color (
  PurpleAccount* account,
  const char* color
)

Description [src]

Sets the color that is associated with the account.

Available since: 3.0

Sets propertyPurple.Account:color

Parameters

color

Type: const char*

The new RGB hex code.

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