FileInfo.getIcon

gio.icon.Icon getIcon()

Gets the icon for a file.

It is an error to call this if the #GFileInfo does not contain [gio.types.FILE_ATTRIBUTE_STANDARD_ICON].

Returns

#GIcon for the given info.