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) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
ContentFormatsBuilder self() nothrowReturns `this`, for use in `with` statements.
void addFormats(gdk.content_formats.ContentFormats formats) nothrowAppends all formats from formats to builder, skipping those that already exist.
void addGtype(gobject.types.GType type) nothrowAppends type to builder if it has not already been added.
void addMimeType(string mimeType) nothrowAppends mime_type to builder if it has not already been added.
gdk.content_formats.ContentFormats toFormats() nothrowCreates a new [gdk.content_formats.ContentFormats] from the given builder.
Constructors
this(void * ptr, Flag!"Take" take)
this()Create a new [gdk.content_formats_builder.ContentFormatsBuilder] object.