PgFontMap.createContext

Creates a gstreamer.Context connected to fontmap. This is equivalent to Context.new followed by Context.setFontMap.

If you are using Pango as part of a higher-level system, that system may have it's own way of create a gstreamer.Context For instance, the GTK+ toolkit has, among others, Pango.contextGetForScreen, and Widget.getPangoContext. Use those instead.

class PgFontMap
createContext
()

Return Value

Type: PgContext

the newly allocated gstreamer.Context, which should be freed with g_object_unref().

Meta

Since

1.22