Package: gio

Function gio:content-type-generic-icon-name

Lambda List

gio:content-type-generic-icon-name (ctype)

Arguments

ctype -- a content type string

Return Value

The string with the registered generic icon name for the given ctype, 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.

Examples

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

See also

2024-12-7