About my projects, examples and tutorials
Gnome::Gio::FileIcon

Gnome::Gio::FileIcon

Description§

Gnome::Gio::FileIcon specifies an icon by pointing to an image file to be used as icon.

It implements Gnome::Gio::FileIcon.

Uml Diagram§

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/plantuml/FileIcon.png> :width<70\%>

Class initialization§

new§

:native-object§

Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object() :$native-object! )
Code

new-fileicon§

Creates a new icon for a file.

method new-fileicon ( N-Object() $file --> Gnome::Gio::FileIcon \)
Code
  • $file; a Gnome::Gio::R-File..

Methods§

get-file§

Gets the Gnome::Gio::R-File associated with the given $icon.

method get-file (--> N-Object )
Code

Return value; a Gnome::Gio::R-File..