ContentFormatsBuilder

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

Constructors

this
this()

Create a new gdk.content_formats_builder.ContentFormatsBuilder object.

Members

Functions

addFormats
void addFormats(gdk.content_formats.ContentFormats formats)

Appends all formats from formats to builder, skipping those that already exist.

addGtype
void addGtype(gobject.types.GType type)

Appends type to builder if it has not already been added.

addMimeType
void addMimeType(string mimeType)

Appends mime_type to builder if it has not already been added.

toFormats
gdk.content_formats.ContentFormats toFormats()

Creates a new gdk.content_formats.ContentFormats from the given builder.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.