create_context


Description:

[ Version ( since = "1.22" ) ]
public Context create_context ()

Creates a `PangoContext` connected to this.

This is equivalent to [[email protected]] followed by [[email protected]_font_map].

If you are using Pango as part of a higher-level system, that system may have it's own way of create a `PangoContext`. For instance, the GTK toolkit has, among others, gtk_widget_get_pango_context. Use those instead.

Parameters:

this

a `PangoFontMap`

Returns:

the newly allocated `PangoContext`, which should be freed with unref.




2022 vala-language.org