FileIcon

class FileIcon(**properties: Any)

Superclasses: Object

Implemented Interfaces: Icon, LoadableIcon

GFileIcon specifies an icon by pointing to an image file to be used as icon.

It implements LoadableIcon.

Constructors

class FileIcon
classmethod new(file: File) FileIcon

Creates a new icon for a file.

Parameters:

file – a File.

Methods

class FileIcon
get_file() File

Gets the File associated with the given icon.

Properties

class FileIcon
props.file: File

The file containing the icon.