FileInfo.setContentType

Sets the content type attribute for a given #GFileInfo. See gio.types.FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE.

class FileInfo
void
setContentType
()

Parameters

contentType string

a content type. See GContentType[gio-GContentType]