Package: gio

Function g-content-type-generic-icon-name

Lambda List

g-content-type-generic-icon-name (content-type)

Arguments

content-type -- a content type string

Return Value

A string with the registered generic icon name for the given type, or nil if unknown.

Details

Gets the generic icon name for a content type.

See the shared-mime-info specification for more on the generic icon name.

Example

(g-content-type-generic-icon-name "text/plain")
=> "text-x-generic"    
 

See also

2020-11-28