get_mime_type


Description:


public string? get_mime_type (string type)

Gets the mime type for the content type, if one is registered.

Parameters:

type

a content type string

Returns:

the registered mime type for the given type, or null if unknown; free with g_free.


Namespace: GLib.ContentType
Package: gio-2.0