Method

Gdk.ContentFormatsBuilder.to_formats

Declaration [src]

GdkContentFormats*
gdk_content_formats_builder_to_formats (
  GdkContentFormatsBuilder* builder
)

Description [src]

Creates a new GdkContentFormats from the given builder.

The given GdkContentFormatsBuilder is reset once this function returns; you cannot call this function multiple times on the same builder instance.

This function is intended primarily for bindings. C code should use gdk_content_formats_builder_free_to_formats().

Return value

Returns: GdkContentFormats

the newly created GdkContentFormats with all the formats added to builder

Ownership of the data is transferred to the caller