ContentType.getGenericIconName

Gets the generic icon name for a content type.

See the shared-mime-info

specification for more on the generic icon name.

struct ContentType
static
string
getGenericIconName
(
string type
)

Parameters

type string

a content type string

Return Value

Type: string

the registered generic icon name for the given @type, or %NULL if unknown. Free with g_free()

Meta

Since

2.34