Method

PurplePersonget_color

unstable since: 3.0

Declaration [src]

const char*
purple_person_get_color (
  PurplePerson* person
)

Description [src]

Gets the custom color that has been set for this person.

Available since: 3.0

Gets propertyPurple.Person:color

Return value

Type: const char*

The custom color or NULL if one is not set.

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