PgLayout.this

Create a new #PangoLayout object with attributes initialized to default values for a particular #PangoContext.

  1. this(PangoLayout* pangoLayout, bool ownedRef)
  2. this(PgContext context)
    class PgLayout

Parameters

context PgContext

a #PangoContext

Return: the newly allocated #PangoLayout, with a reference count of one, which should be freed with g_object_unref().

Throws

ConstructionException GTK+ fails to create the object.

Meta