PgAttribute.foregroundNew

Create a new foreground color attribute.

class PgAttribute
static
foregroundNew
(
ushort red
,
ushort green
,
ushort blue
)

Parameters

red ushort

the red value (ranging from 0 to 65535)

green ushort

the green value

blue ushort

the blue value

Return: the newly allocated #PangoAttribute, which should be freed with pango_attribute_destroy().

Meta