ContentFormats.this

Creates a new GdkContentFormats from an array of mime types.

The mime types must be valid and different from each other or the behavior of the return value is undefined. If you cannot guarantee this, use GdkContentFormatsBuilder instead.

  1. this(GdkContentFormats* gdkContentFormats, bool ownedRef)
  2. this(string[] mimeTypes)
    class ContentFormats
    this
    (
    string[] mimeTypes
    )
  3. this(GType type)

Parameters

mimeTypes string[]

Pointer to an array of mime types

Return Value

the new GdkContentFormats.

Throws

ConstructionException GTK+ fails to create the object.

Meta