gdk.content_formats_builder
Module for [ContentFormatsBuilder] class
class ContentFormatsBuilder
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 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.