Creates <GdkContentFormats> objects.
Appends all formats from formats to self, skipping those that already exist.
Passed: a
<GdkContentFormatsBuilder>.
Passed: a <GdkContentFormats>.
the formats to add
Appends type to self if it has not already been added.
Passed: a
<GdkContentFormatsBuilder>.
a <GdkContentFormats>Builder
Passed: a class, or a GType number.
a GType
Appends mime-type to self if it has not already been added.
Passed: a
<GdkContentFormatsBuilder>.
Passed: a string.
a mime type
Create a new
<GdkContentFormatsBuilder> object.
The resulting builder would create an empty
<GdkContentFormats>. Use addition
functions to add types to it.
Returned: a
<GdkContentFormatsBuilder>.
Acquires a reference on the given self.
This function is intended primarily for bindings.
<GdkContentFormatsBuilder> objects
should not be kept around.
Passed: a
<GdkContentFormatsBuilder>.
Returned: a
<GdkContentFormatsBuilder>.
the given <GdkContentFormatsBuilder>
with its reference count increased
Creates a new <GdkContentFormats> from the
given self.
The given <GdkContentFormatsBuilder>
is reset once this function returns; you cannot call this function
multiple times on the same self instance.
This function is intended primarily for bindings. C code should use
Gdk.ContentFormatsBuilder.free_to_formats.
Passed: a
<GdkContentFormatsBuilder>.
a <GdkContentFormats>Builder
Returned: a <GdkContentFormats>.
the newly created <GdkContentFormats> with
all the formats added to self
Releases a reference on the given self.
Passed: a
<GdkContentFormatsBuilder>.