set_variations_static


Description:

[ Version ( since = "1.42" ) ]
public void set_variations_static (string variations)

Sets the variations field of a font description.

This is like [[email protected]_variations], except that no copy of variations is made. The caller must make sure that the string passed in stays around until this 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 this is only needed temporarily.

Parameters:

this

a `PangoFontDescription`

variations

a string representing the variations




2022 vala-language.org