GOffice.MimeType

Fields

Name Type Access Description
component_type_name str r/w  
priority GOffice.MimePriority r/w  
support_clipboard bool r/w  

Methods

class get_description (mime_type)

Details

class GOffice.MimeType
classmethod get_description(mime_type)
Parameters:mime_type (str) – the mime type to describe.
Returns:the description for the mime type as a newly allocated string. Needs to be freed with GLib.free(). If the description is not found, the mime type itself will be returned.
Return type:str