Table of Contents

Class FileIcon

Namespace
Gio
Assembly
Gio-2.0.dll
public class FileIcon : Object, IObject, INotifyPropertyChanged, IDisposable, Icon, LoadableIcon, IHandle, GTypeProvider
Inheritance
FileIcon
Implements
Inherited Members

Constructors

FileIcon(bool, params ConstructArgument[])

protected FileIcon(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

FileIcon(IntPtr, bool)

protected FileIcon(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

FilePropertyDefinition

public static readonly Property<File, FileIcon> FilePropertyDefinition

Field Value

Property<File, FileIcon>

Properties

File

public File File { get; }

Property Value

File

Methods

Equal(Icon?)

public bool Equal(Icon? icon2)

Parameters

icon2 Icon

Returns

bool

GetFile()

public File GetFile()

Returns

File

GetGType()

public static Type GetGType()

Returns

Type

Hash()

public uint Hash()

Returns

uint

Load(int, out string, Cancellable?)

public InputStream Load(int size, out string type, Cancellable? cancellable)

Parameters

size int
type string
cancellable Cancellable

Returns

InputStream

LoadFinish(AsyncResult, out string)

public InputStream LoadFinish(AsyncResult res, out string type)

Parameters

res AsyncResult
type string

Returns

InputStream

New(File)

public static FileIcon New(File file)

Parameters

file File

Returns

FileIcon

Serialize()

[Version("2.38")]
public Variant? Serialize()

Returns

Variant

ToString()

[Version("2.20")]
public string? ToString()

Returns

string