FontDescription.setVariationsStatic

Sets the variations field of a font description.

This is like pango.font_description.FontDescription.setVariations, 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 FontDescription
void
setVariationsStatic
(
string variations
)

Parameters

variations string

a string representing the variations