PgColor.copy

Creates a copy of src, which should be freed with pango_color_free(). Primarily used by language bindings, not that useful otherwise (since colors can just be copied by assignment in C).

class PgColor
copy
()

Return Value

Type: PgColor

the newly allocated PangoColor, which should be freed with pango_color_free(), or NULL if src was NULL.

Meta