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
FileIconGidBuilder builder()Get builder for [gio.file_icon.FileIcon] Returns: New builder objectgio.file.File getFile()Gets the #GFile associated with the given icon. Returns: a #GFile.Constructors
this(gio.file.File file)Creates a new icon for a file.classFileIconGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.icon.IconGidBuilderImpl!T, gio.loadable_icon.LoadableIconGidBuilderImpl!T
Methods
T file(gio.file.File propval)Set `file` property. Params: propval = The file containing the icon. Returns: Builder instance for fluent chaining