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
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.