ContentFormatsBuilder
Object Hierarchy:
Description:
[ CCode ( ref_function = "gdk_content_formats_builder_ref" , type_id = "gdk_content_formats_builder_get_type ()" , unref_function = "gdk_content_formats_builder_unref" ) ]
[ Compact ]
public class ContentFormatsBuilder
A `GdkContentFormatsBuilder` is an auxiliary struct used to create new `GdkContentFormats`, and should not be kept around.
Content:
Creation methods:
Methods:
- public unowned ContentFormatsBuilder @ref ()
Acquires a reference on the given this
.
- public void add_formats (ContentFormats formats)
Appends all formats from formats
to
this, skipping those that already exist.
- public void add_gtype (Type type)
Appends type
to this if
it has not already been added.
- public void add_mime_type (string mime_type)
Appends mime_type
to this
if it has not already been added.
- public ContentFormats to_formats ()
Creates a new `GdkContentFormats` from the given
this.
- public void unref ()
Releases a reference on the given this
.