Gedit.Document.mime_type – gedit Reference Manual
mime_type
Description:
public
string
mime_type
{
owned
get
; }
The document's MIME type.