Method

PurplePersonset_color

since: 3.0

Declaration [src]

void
purple_person_set_color (
  PurplePerson* person,
  const char* color
)

Description [src]

Sets the custom color of person to color. If color is NULL the custom color is removed.

Available since: 3.0

Sets propertyPurple.Person:color

Parameters

color

Type: const char*

The new color.

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