Name
pango.Context -- create Pango context
Synopsis
handle = pango.Context()
Function
Creates a new Pango context initialized to default values.

This function is not particularly useful as it should always be followed by a pcontext:SetFontMap() call, and the function pfontmap:CreateContext() does these two steps together and hence users are recommended to use that.

This function returns the newly allocated Pango context, which should be freed with pcontext:Free().

Inputs
none

Results
handle
the newly allocated Pango context

Show TOC