Gio.content_type_get_icon
function content_type_get_icon(type: String): Gio.Icon {
// Gjs wrapper for g_content_type_get_icon()
}
Gets the icon for a content type.
- type
a content type string
- Returns
Gio.Icon corresponding to the content type. Free the returned object with GObject.Object.prototype.unref