Gio.FileIcon¶
class — extends GObject.Object, Icon, LoadableIcon
GFileIcon specifies an icon by pointing to an image file
to be used as icon.
It implements LoadableIcon.
Constructors¶
new¶
Creates a new icon for a file.
Parameters:
file— aFile.
Methods¶
get_file¶
Gets the File associated with the given icon.
Properties¶
file¶
The file containing the icon.