[ CCode ( has_construct_function = false ) ]
public ContentFormats (string[]? mime_types)
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 [[email protected]] instead.
mime_types |
Pointer to an array of mime types |
n_mime_types |
number of entries in |
the new `GdkContentFormats`. |