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 _getGType() static nothrow
GType _gType() @property nothrow
FileIcon self() nothrowReturns `this`, for use in `with` statements.
FileIconGidBuilder builder() static nothrowGet builder for [gio.file_icon.FileIcon] Returns: New builder object
gio.file.File file() @property nothrowGet `file` property. Returns: The file containing the icon.
gio.file.File getFile() nothrowGets 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.

Fluent builder implementation template for gio.file_icon.FileIcon

Methods
T file(gio.file.File propval) nothrowSet `file` property. Params: propval = The file containing the icon. Returns: Builder instance for fluent chaining

Fluent builder for gio.file_icon.FileIcon

Methods
FileIcon build() nothrowCreate object from builder. Returns: New object