gio.FileIconIcons pointing to an image file.Synopsisgio.FileIcongobject.GObjectgio.Icongio.LoadableIcongio.FileIconfileget_fileAncestry+-- gobject.GObject
+-- gio.FileIcon
Description
The gio.FileIcon
specifies an icon by pointing to an image file to be used as icon.
Constructorgio.FileIconfilefile :a
gio.FileReturns :a new
gio.FileIcon
for the given file, or None on error.
Creates a new icon for a file.
Methodsgio.FileIcon.get_fileget_fileReturns :a
gio.File
or None.
The get_file() method gets the
gio.File
associated with the given icon.