FileInfo.setContentType

Sets the content type attribute for a given gio.FileInfo See G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE.

class FileInfo
void
setContentType
()

Parameters

contentType string

a content type. See GContentType[gio-GContentType]