create_pango_context


Description:

public Context create_pango_context ()

Creates a new `PangoContext` that is configured for the widget.

The `PangoContext` will have the appropriate font map, font options, font description, and base direction set.

See also [method@Gtk.Widget.get_pango_context].

Parameters:

this

a widget

Returns:

the new `PangoContext`