gio.file_icon

Module for [FileIcon] class

Types 3

[gio.file_icon.FileIcon] specifies an icon by pointing to an image file to be used as icon.

It implements [gio.loadable_icon.LoadableIcon].

Methods
GType _gType() @property
FileIcon self()Returns `this`, for use in `with` statements.
FileIconGidBuilder builder()Get builder for [gio.file_icon.FileIcon] Returns: New builder object
gio.file.File file() @propertyGet `file` property. Returns: The file containing the icon.
gio.file.File getFile()Gets the #GFile associated with the given icon. Returns: a #GFile.
Constructors
this(void * ptr, Flag!"Take" take)
this(gio.file.File file)Creates a new icon for a file.
Methods
T file(gio.file.File propval)Set `file` property. Params: propval = The file containing the icon. Returns: Builder instance for fluent chaining

Fluent builder for [gio.file_icon.FileIcon]

Methods