W Wrapl, The Programming Language

Libraries:Gtk:Gio:GFileIcon

Types

T

Inherits from:

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



Constants

Nil : T

Functions

GetType() : Gtk.GObject.Type.T



New(file @ Gtk.Gio.GFile.T) : Gtk.Gio.GFileIcon.T

Creates a new icon for a file.

file a Gtk.Gio.GFile.T.
Returns a Gtk.Gio.GIcon.T for the given file, or NULL on error. [transfer full]


Methods

:GetFile(self @ T) : Gtk.Gio.GFile.T

Gets the Gtk.Gio.GFile.T associated with the given icon.

icon a Gtk.Gio.GIcon.T.
Returns a Gtk.Gio.GFile.T, or NULL. [transfer none]