Gio.content_type_get_symbolic_icon

function content_type_get_symbolic_icon(type: String): Gio.Icon {
    // Gjs wrapper for g_content_type_get_symbolic_icon()
}
  

Gets the symbolic icon for a content type.

Since 2.34

type

a content type string

Returns

symbolic Gio.Icon corresponding to the content type. Free the returned object with GObject.Object.prototype.unref