gdk.content_formats_builder

Module for [ContentFormatsBuilder] class

Types 1

A [gdk.content_formats_builder.ContentFormatsBuilder] is an auxiliary struct used to create new [gdk.content_formats.ContentFormats], and should not be kept around.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
ContentFormatsBuilder self()Returns `this`, for use in `with` statements.
void addFormats(gdk.content_formats.ContentFormats formats)Appends all formats from formats to builder, skipping those that already exist.
void addGtype(gobject.types.GType type)Appends type to builder if it has not already been added.
void addMimeType(string mimeType)Appends mime_type to builder if it has not already been added.
gdk.content_formats.ContentFormats toFormats()Creates a new [gdk.content_formats.ContentFormats] from the given builder.
Constructors
this(void * ptr, Flag!"Take" take)
this()Create a new [gdk.contentformatsbuilder.ContentFormatsBuilder] object.