Table of Contents

Class BytesIcon

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

Constructors

BytesIcon(bool, params ConstructArgument[])

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

Parameters

owned bool
constructArguments ConstructArgument[]

BytesIcon(IntPtr, bool)

protected BytesIcon(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

BytesPropertyDefinition

public static readonly Property<Bytes, BytesIcon> BytesPropertyDefinition

Field Value

Property<Bytes, BytesIcon>

Properties

Bytes

public Bytes Bytes { get; }

Property Value

Bytes

Methods

Equal(Icon?)

public bool Equal(Icon? icon2)

Parameters

icon2 Icon

Returns

bool

GetBytes()

[Version("2.38")]
public Bytes GetBytes()

Returns

Bytes

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(Bytes)

[Version("2.38")]
public static BytesIcon New(Bytes bytes)

Parameters

bytes Bytes

Returns

BytesIcon

Serialize()

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

Returns

Variant

ToString()

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

Returns

string