PgFontDescription.setVariationsStatic

Sets the variations field of a font description.

This is like [method@Pango.FontDescription.set_variations], except that no copy of @variations is made. The caller must make sure that the string passed in stays around until @desc has been freed or the name is set again. This function can be used if @variations is a static string such as a C string literal, or if @desc is only needed temporarily.

class PgFontDescription
void
setVariationsStatic
(
string variations
)

Parameters

variations string

a string representing the variations

Meta

Since

1.42