from_mime_type


Description:

public string? from_mime_type (string mime_type)

Tries to find a content type based on the mime type name.

Parameters:

mime_type

a mime type string

Returns:

Newly allocated string with content type or null. Free with g_free


Namespace: GLib.ContentType
Package: gio-2.0