Create a new GdkContentFormatsBuilder
object.
The resulting builder would create an empty GdkContentFormats
.
Use addition functions to add types to it.
Appends all formats from formats
to builder,
skipping those that
already exist.
the formats to add
Appends type
to builder
if it has not already been added.
a GType
Appends mime_type
to builder
if it has not already been added.
a mime type
Acquires a reference on the given builder
.
This function is intended primarily for bindings.
GdkContentFormatsBuilder
objects should not be kept around.
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
[methodGdk
.ContentFormatsBuilder.free_to_formats].
Releases a reference on the given builder
.
Create a new GdkContentFormatsBuilder
object.
The resulting builder would create an empty GdkContentFormats
.
Use addition functions to add types to it.
A
GdkContentFormatsBuilder
is an auxiliary struct used to create newGdkContentFormats
, and should not be kept around.