PgLayout.copy

Does a deep copy-by-value of the @src layout. The attribute list, tab array, and text from the original layout are all copied by value.

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

class PgLayout
copy
()

Meta