PgColor.copy

Creates a copy of @src.

The copy 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 [method@Pango.Color.free], or %NULL if @src was %NULL.

Meta