Context.this

Creates a new pango.context.Context initialized to default values.

This function is not particularly useful as it should always be followed by a pango.context.Context.setFontMap call, and the function pango.font_map.FontMap.createContext does these two steps together and hence users are recommended to use that.

If you are using Pango as part of a higher-level system, that system may have it's own way of create a pango.context.Context. For instance, the GTK toolkit has, among others, [gtk.widget.Widget.getPangoContext]. Use those instead.

  1. this(void* ptr, Flag!"Take" take)
  2. this()
    class Context
    this
    ()

Return Value

the newly allocated pango.context.Context, which should be freed with gobject.object.ObjectWrap.unref.