1.33 <GFileIcon>

Class: <GFileIcon>

It derives from <GObject>.

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

It implements <GLoadableIcon>.

Properties

Property: file-icon:file self

The file containing the icon.

Its value is a <GFile>, or #f.

It can only be set when the object is made, with #:file.

Procedures

Method: file-icon:get-file self ⇒ %return
Method: get-file self ⇒ %return

Gets the <GFile> associated with the given self.

self

Passed: a <GFileIcon>.

a <GIcon>.

%return

Returned: a <GFile>.

a <GFile>.

Procedure: file-icon:new file ⇒ %return

Creates a new icon for a file.

file

Passed: a <GFile>.

a <GFile>.

%return

Returned: a <GFileIcon>.

a <GIcon> for the given file, or #f on error.